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

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.
 java.util.List<CGClass> getSuperTypes()
          Returns the value of the 'Super Types' reference list.
 java.util.List<CGClass> getTemplateParameters()
          Returns the value of the 'Template Parameters' reference list.
 boolean isInterface()
          Returns the value of the 'Interface' attribute.
 void setContainingPackage(CGPackage value)
          Sets the value of the 'Containing Package' container reference.
 void setInterface(boolean value)
          Sets the value of the 'Interface' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getAst, getName, setAst, setName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent, getPlace, isContext, rewriteAs
 
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

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

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

getSuperTypes

java.util.List<CGClass> getSuperTypes()
Returns the value of the 'Super Types' reference list. The list contents are of type CGClass.

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

Returns:
the value of the 'Super Types' reference list.
See Also:
CGModelPackage.getCGClass_SuperTypes()
Generated

isInterface

boolean isInterface()
Returns the value of the 'Interface' attribute. The default value is "false". the boolean value

Returns:
the value of the 'Interface' attribute.
See Also:
setInterface(boolean), CGModelPackage.getCGClass_Interface()
Generated

setInterface

void setInterface(boolean value)
Sets the value of the 'Interface' attribute.

Parameters:
value - the new value of the 'Interface' attribute.
See Also:
isInterface()
Generated

getTemplateParameters

java.util.List<CGClass> getTemplateParameters()
Returns the value of the 'Template Parameters' reference list. The list contents are of type CGClass.

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

Returns:
the value of the 'Template Parameters' reference list.
See Also:
CGModelPackage.getCGClass_TemplateParameters()
Generated

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

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