public interface CGOperation extends CGCallable
The following features are supported:
CGModelPackage.getCGOperation()
Modifier and Type | Method and Description |
---|---|
CGClass |
getContainingClass()
Returns the value of the 'Containing Class' container reference.
|
java.util.List<CGConstraint> |
getPostconditions()
Returns the value of the 'Postconditions' containment reference list.
|
java.util.List<CGConstraint> |
getPreconditions()
Returns the value of the 'Preconditions' containment reference list.
|
void |
setContainingClass(CGClass value)
Sets the value of the '
Containing Class ' container reference. |
getBody, getParameters, setBody
getDependsOn, getEcoreClassifier, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEcore, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
accept, getChildren, getParent, getPlace, isContext, rewriteAs
@NonNull java.util.List<CGConstraint> getPreconditions()
CGConstraint
.
The precondition constraints of this operation.
CGModelPackage.getCGOperation_Preconditions()
@NonNull java.util.List<CGConstraint> getPostconditions()
CGConstraint
.
The postcondition constraints of this operation.
CGModelPackage.getCGOperation_Postconditions()
@Nullable CGClass getContainingClass()
Operations
'.
If the meaning of the 'Containing Class' container reference isn't clear, there really should be more of a description here...
setContainingClass(CGClass)
,
CGModelPackage.getCGOperation_ContainingClass()
,
CGClass.getOperations()
void setContainingClass(CGClass value)
Containing Class
' container reference.
value
- the new value of the 'Containing Class' container reference.getContainingClass()