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

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

public interface CGClass
extends CGNamedElement

A representation of the model object 'CG Class'.

The following features are supported:

See Also:
CGModelPackage.getCGClass()
Generated
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
Method Summary
 CGPackage getContainingPackage()
          Returns the value of the 'Containing Package' container reference.
 java.util.List<CGConstraint> getInvariants()
          Returns the value of the 'Invariants' containment reference list.
 java.util.List<CGOperation> getOperations()
          Returns the value of the 'Operations' containment reference list.
 java.util.List<CGProperty> getProperties()
          Returns the value of the 'Properties' 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

getOperations

@NonNull
java.util.List<CGOperation> getOperations()
Returns the value of the 'Operations' containment reference list. The list contents are of type CGOperation. It is bidirectional and its opposite is 'Containing Class'.

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

Returns:
the value of the 'Operations' containment reference list.
See Also:
CGModelPackage.getCGClass_Operations(), CGOperation.getContainingClass()
Generated
Model
opposite="containingClass" containment="true" ordered="false"

getProperties

@NonNull
java.util.List<CGProperty> getProperties()
Returns the value of the 'Properties' containment reference list. The list contents are of type CGProperty. It is bidirectional and its opposite is 'Containing Class'.

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

Returns:
the value of the 'Properties' containment reference list.
See Also:
CGModelPackage.getCGClass_Properties(), CGProperty.getContainingClass()
Generated
Model
opposite="containingClass" containment="true" ordered="false"

getInvariants

java.util.List<CGConstraint> getInvariants()
Returns the value of the 'Invariants' containment reference list. The list contents are of type CGConstraint. Invariant constraints on instances of this class.

Returns:
the value of the 'Invariants' containment reference list.
See Also:
CGModelPackage.getCGClass_Invariants()
Generated
Model
containment="true" ordered="false"

getContainingPackage

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

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.getCGClass_ContainingPackage(), CGPackage.getClasses()
Generated
Model
opposite="classes" resolveProxies="false" required="true" 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