org.eclipse.ocl.examples.codegen.cgmodel
Interface CGPackage

All Superinterfaces:
CGElement, CGNamedElement, org.eclipse.emf.ecore.EObject, Nameable, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CGPackageImpl

public interface CGPackage
extends CGNamedElement

A representation of the model object 'CG Package'.

The following features are supported:

See Also:
CGModelPackage.getCGPackage()
Generated
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
Method Summary
 java.util.List<CGClass> getClasses()
          Returns the value of the 'Classes' containment reference list.
 CGPackage getContainingPackage()
          Returns the value of the 'Containing Package' container reference.
 java.util.List<CGPackage> getPackages()
          Returns the value of the 'Packages' containment reference list.
 void setContainingPackage(CGPackage value)
          Sets the value of the 'Containing Package' container reference.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getName, getPivot, setName, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent
 
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

getClasses

java.util.List<CGClass> getClasses()
Returns the value of the 'Classes' containment reference list. The list contents are of type CGClass. It is bidirectional and its opposite is 'Containing Package'.

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

Returns:
the value of the 'Classes' containment reference list.
See Also:
CGModelPackage.getCGPackage_Classes(), CGClass.getContainingPackage()
Generated
Model
opposite="containingPackage" containment="true" ordered="false"

getPackages

java.util.List<CGPackage> getPackages()
Returns the value of the 'Packages' containment reference list. The list contents are of type CGPackage. It is bidirectional and its opposite is 'Containing Package'.

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

Returns:
the value of the 'Packages' containment reference list.
See Also:
CGModelPackage.getCGPackage_Packages(), getContainingPackage()
Generated
Model
opposite="containingPackage" containment="true" ordered="false"

getContainingPackage

CGPackage getContainingPackage()
Returns the value of the 'Containing Package' container reference. It is bidirectional and its opposite is 'Packages'.

If the meaning of the 'Containing Package' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Containing Package' container reference.
See Also:
setContainingPackage(CGPackage), CGModelPackage.getCGPackage_ContainingPackage(), getPackages()
Generated
Model
opposite="packages" resolveProxies="false" transient="false"

setContainingPackage

void setContainingPackage(CGPackage value)
Sets the value of the 'Containing Package' container reference.

Parameters:
value - the new value of the 'Containing Package' container reference.
See Also:
getContainingPackage()
Generated