Interface OperationBody
-
- All Superinterfaces:
ASTNode,EModelElement,EObject,Notifier,Visitable,VisitableASTNode
- All Known Subinterfaces:
ConstructorBody,MappingBody
- All Known Implementing Classes:
ConstructorBodyImpl,MappingBodyImpl,OperationBodyImpl
public interface OperationBody extends VisitableASTNode, EModelElement
A representation of the model object 'Operation Body'.The following features are supported:
- See Also:
ExpressionsPackage.getOperationBody()- EMF generated code
- EMF model element
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>>
Taccept(U v)EList<OCLExpression>getContent()Returns the value of the 'Content' containment reference list.ImperativeOperationgetOperation()Returns the value of the 'Operation' container reference.EList<Variable>getVariable()Returns the value of the 'Variable' containment reference list.voidsetOperation(ImperativeOperation value)Sets the value of the 'Operation' container reference.-
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
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
-
-
-
-
Field Detail
-
copyright
static final String copyright
- See Also:
- Constant Field Values
- EMF generated code
-
-
Method Detail
-
getOperation
ImperativeOperation getOperation()
Returns the value of the 'Operation' container reference. It is bidirectional and its opposite is 'Body'.If the meaning of the 'Operation' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Operation' container reference.
- See Also:
setOperation(ImperativeOperation),ExpressionsPackage.getOperationBody_Operation(),ImperativeOperation.getBody()- EMF generated code
- EMF model element
- opposite="body"
-
setOperation
void setOperation(ImperativeOperation value)
Sets the value of the 'Operation' container reference.- Parameters:
value- the new value of the 'Operation' container reference.- See Also:
getOperation()- EMF generated code
-
getContent
EList<OCLExpression> getContent()
Returns the value of the 'Content' containment reference list. The list contents are of typeOCLExpression.If the meaning of the 'Content' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Content' containment reference list.
- See Also:
ExpressionsPackage.getOperationBody_Content()- EMF generated code
- EMF model element
- containment="true"
-
getVariable
EList<Variable> getVariable()
Returns the value of the 'Variable' containment reference list. The list contents are of typeVariable.If the meaning of the 'Variable' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Variable' containment reference list.
- See Also:
ExpressionsPackage.getOperationBody_Variable()- EMF generated code
- EMF model element
- containment="true"
-
-