Package org.omg.smm
Interface OCLOperation
- All Superinterfaces:
AbstractMeasureElement,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,SmmElement
- All Known Implementing Classes:
OCLOperationImpl
public interface OCLOperation extends AbstractMeasureElement
A representation of the model object 'OCL Operation'.
The following features are supported:
- See Also:
SmmPackage.getOCLOperation()
-
Method Summary
Modifier and Type Method Description StringgetBody()Returns the value of the 'Body' attribute.StringgetContext()Returns the value of the 'Context' attribute.voidsetBody(String value)Sets the value of the 'Body' attribute.voidsetContext(String value)Sets the value of the 'Context' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.omg.smm.SmmElement
getAnnotations, getAttributes, getDescription, getInRelationships, getName, getOutRelationships, getShortDescription, setDescription, setName, setShortDescription
-
Method Details
-
getBody
String getBody()Returns the value of the 'Body' attribute.- Returns:
- the value of the 'Body' attribute.
- See Also:
setBody(String),SmmPackage.getOCLOperation_Body()
-
setBody
Sets the value of the 'Body' attribute.- Parameters:
value- the new value of the 'Body' attribute.- See Also:
getBody()
-
getContext
String getContext()Returns the value of the 'Context' attribute.- Returns:
- the value of the 'Context' attribute.
- See Also:
setContext(String),SmmPackage.getOCLOperation_Context()
-
setContext
Sets the value of the 'Context' attribute.- Parameters:
value- the new value of the 'Context' attribute.- See Also:
getContext()
-