org.eclipse.ocl.examples.xtext.base.basecs
Interface PackageCS

All Superinterfaces:
ElementCS, org.eclipse.emf.ecore.EObject, ModelElementCS, Nameable, NamedElementCS, NamespaceCS, org.eclipse.emf.common.notify.Notifier, PackageOwnerCS, Pivotable, PivotableElementCS, PivotObject, VisitableCS
All Known Subinterfaces:
LibPackageCS
All Known Implementing Classes:
LibPackageCSImpl, PackageCSImpl

public interface PackageCS
extends PackageOwnerCS, NamespaceCS

A representation of the model object 'Package CS'.

The following features are supported:

See Also:
BaseCSPackage.getPackageCS()
Generated
Model

Method Summary
 Package ast()
           
 ClassifierCS getClassifier(java.lang.String name)
           
 java.lang.String getNsPrefix()
          Returns the value of the 'Ns Prefix' attribute.
 java.lang.String getNsURI()
          Returns the value of the 'Ns URI' attribute.
 org.eclipse.emf.common.util.EList<ClassifierCS> getOwnedType()
          Returns the value of the 'Owned Type' containment reference list.
 void setNsPrefix(java.lang.String value)
          Sets the value of the 'Ns Prefix' attribute.
 void setNsURI(java.lang.String value)
          Sets the value of the 'Ns URI' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.PackageOwnerCS
getOwnedNestedPackage
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.NamedElementCS
getName, setName
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.ModelElementCS
getCsi, getOriginalXmiId, getOwnedAnnotation, setCsi, setOriginalXmiId
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.PivotableElementCS
getPivot, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.ElementCS
accept, getDescription, getLogicalParent
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.util.VisitableCS
eClass
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Pivotable
resetPivot
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getOwnedType

org.eclipse.emf.common.util.EList<ClassifierCS> getOwnedType()
Returns the value of the 'Owned Type' containment reference list. The list contents are of type ClassifierCS. It is bidirectional and its opposite is 'Owner'.

If the meaning of the 'Owned Type' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owned Type' containment reference list.
See Also:
BaseCSPackage.getPackageCS_OwnedType(), ClassifierCS.getOwner()
Generated
Model
opposite="owner" containment="true"

getNsPrefix

java.lang.String getNsPrefix()
Returns the value of the 'Ns Prefix' attribute.

If the meaning of the 'Ns Prefix' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ns Prefix' attribute.
See Also:
setNsPrefix(String), BaseCSPackage.getPackageCS_NsPrefix()
Generated
Model

setNsPrefix

void setNsPrefix(java.lang.String value)
Sets the value of the 'Ns Prefix' attribute.

Parameters:
value - the new value of the 'Ns Prefix' attribute.
See Also:
getNsPrefix()
Generated

getNsURI

java.lang.String getNsURI()
Returns the value of the 'Ns URI' attribute.

If the meaning of the 'Ns URI' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ns URI' attribute.
See Also:
setNsURI(String), BaseCSPackage.getPackageCS_NsURI()
Generated
Model

setNsURI

void setNsURI(java.lang.String value)
Sets the value of the 'Ns URI' attribute.

Parameters:
value - the new value of the 'Ns URI' attribute.
See Also:
getNsURI()
Generated

ast

Package ast()

Generated
Model
required="true" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL body='ocl::Package{\n\t\t\t\t-- TODO\n\t\t\t\tname = name,\n\t\t\t\tnestedPackage = ownedNestedPackage.ast()\n\t\t\t}'"

getClassifier

ClassifierCS getClassifier(java.lang.String name)

Generated
Model