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

All Superinterfaces:
ElementCS, org.eclipse.emf.ecore.EObject, ModelElementCS, MonikeredElementCS, Nameable, NamedElementCS, NamespaceCS, org.eclipse.emf.common.notify.Notifier, Pivotable, PivotObject, VisitableCS
All Known Subinterfaces:
CompleteOCLDocumentCS, LibRootPackageCS, RootPackageCS
All Known Implementing Classes:
CompleteOCLDocumentCSImpl, LibRootPackageCSImpl, PackageCSImpl, RootPackageCSImpl

public interface PackageCS
extends NamespaceCS

A representation of the model object 'Package CS'.

The following features are supported:

See Also:
BaseCSTPackage.getPackageCS()
Generated
Model

Method Summary
 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<PackageCS> getOwnedNestedPackage()
          Returns the value of the 'Owned Nested Package' containment reference list.
 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.baseCST.NamedElementCS
getName, setName
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.MonikeredElementCS
getMoniker, hasMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.ModelElementCS
getOriginalXmiId, getOwnedAnnotation, getPivot, setOriginalXmiId, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.ElementCS
getDescription
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.util.VisitableCS
accept, 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:
BaseCSTPackage.getPackageCS_OwnedType(), ClassifierCS.getOwner()
Generated
Model
opposite="owner" containment="true"

getOwnedNestedPackage

org.eclipse.emf.common.util.EList<PackageCS> getOwnedNestedPackage()
Returns the value of the 'Owned Nested Package' containment reference list. The list contents are of type PackageCS.

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

Returns:
the value of the 'Owned Nested Package' containment reference list.
See Also:
BaseCSTPackage.getPackageCS_OwnedNestedPackage()
Generated
Model
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), BaseCSTPackage.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), BaseCSTPackage.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

getClassifier

ClassifierCS getClassifier(java.lang.String name)

Generated
Model