|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CGOperation
A representation of the model object 'CG Operation'.
The following features are supported:
CGModelPackage.getCGOperation()
Field Summary |
---|
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement |
---|
EMPTY_LIST |
Method Summary | |
---|---|
CGValuedElement |
getBody()
Returns the value of the 'Body' containment reference. |
CGClass |
getContainingClass()
Returns the value of the 'Containing Class' container reference. |
java.util.List<CGParameter> |
getParameters()
Returns the value of the 'Parameters' containment reference list. |
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 |
setBody(CGValuedElement value)
Sets the value of the ' Body ' containment reference. |
void |
setContainingClass(CGClass value)
Sets the value of the ' Containing Class ' container reference. |
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement |
---|
getDependsOn, getReferredValuedElement, getValue, getValueName, isBoxed, isCaught, isConstant, isFalse, isGlobal, isInlineable, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, setCaught, setNonInvalid, setNonNull, setValueName |
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement |
---|
getPivotTypeId, getTypeId, isRequired, setRequired, setTypeId |
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 |
---|
@Nullable CGValuedElement getBody()
If the meaning of the 'Body' containment reference isn't clear, there really should be more of a description here...
The OCL-defined body of this operation.
setBody(CGValuedElement)
,
CGModelPackage.getCGOperation_Body()
void setBody(CGValuedElement value)
Body
' containment reference.
value
- the new value of the 'Body' containment reference.getBody()
java.util.List<CGConstraint> getPreconditions()
CGConstraint
.
The precondition constraints of this operation.
CGModelPackage.getCGOperation_Preconditions()
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()
@NonNull java.util.List<CGParameter> getParameters()
CGParameter
.
If the meaning of the 'Parameters' containment reference list isn't clear, there really should be more of a description here...
The parameters of this operation, with 'self' as the first parameter.
CGModelPackage.getCGOperation_Parameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |