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

All Superinterfaces:
CGElement, CGNamedElement, CGTypedElement, CGValuedElement, org.eclipse.emf.ecore.EObject, Nameable, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
CGConstraint, CGContainmentVisit, CGEcoreOperation, CGLibraryOperation, CGOperation
All Known Implementing Classes:
CGCallableImpl, CGConstraintImpl, CGContainmentVisitImpl, CGEcoreOperationImpl, CGLibraryOperationImpl, CGOperationImpl

public interface CGCallable
extends CGValuedElement

A representation of the model object 'CG Callable'. A CGConstraint defines a constraint such as a class invariant.

The following features are supported:

See Also:
CGModelPackage.getCGCallable()
Generated

Method Summary
 CGValuedElement getBody()
          Returns the value of the 'Body' containment reference.
 java.util.List<CGParameter> getParameters()
          Returns the value of the 'Parameters' containment reference list.
 void setBody(CGValuedElement value)
          Sets the value of the 'Body' containment reference.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement
getDependsOn, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
 
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

getParameters

@NonNull
java.util.List<CGParameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type CGParameter. It is bidirectional and its opposite is 'Callable'. The parameters of this operation, with 'self' as the first parameter.

Returns:
the value of the 'Parameters' containment reference list.
See Also:
CGModelPackage.getCGCallable_Parameters(), CGParameter.getCallable()
Generated

getBody

CGValuedElement getBody()
Returns the value of the 'Body' containment reference.

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

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(CGValuedElement), CGModelPackage.getCGCallable_Body()
Generated

setBody

void setBody(CGValuedElement value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()
Generated