Package org.eclipse.m2m.atl.common.OCL
Class Operation
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.m2m.atl.common.ATL.LocatedElement
-
- org.eclipse.m2m.atl.common.OCL.OclFeature
-
- org.eclipse.m2m.atl.common.OCL.Operation
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject
public class Operation extends OclFeature
A representation of the model object 'Operation'.The following features are supported:
- See Also:
OCLPackage.getOperation()
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected OclExpressionbodyThe cached value of the 'Body' containment reference.protected java.lang.StringnameThe cached value of the 'Name' attribute.protected static java.lang.StringNAME_EDEFAULTThe default value of the 'Name' attribute.protected org.eclipse.emf.common.util.EList<Parameter>parametersThe cached value of the 'Parameters' containment reference list.protected OclTypereturnTypeThe cached value of the 'Return Type' containment reference.-
Fields inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement
commentsAfter, commentsBefore, location, LOCATION_EDEFAULT
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetBody(OclExpression newBody, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetReturnType(OclType newReturnType, org.eclipse.emf.common.notify.NotificationChain msgs)java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)OclExpressiongetBody()Returns the value of the 'Body' containment reference.java.lang.StringgetName()Returns the value of the 'Name' attribute.org.eclipse.emf.common.util.EList<Parameter>getParameters()Returns the value of the 'Parameters' containment reference list.OclTypegetReturnType()Returns the value of the 'Return Type' containment reference.voidsetBody(OclExpression newBody)Sets the value of the 'Body' containment reference.voidsetName(java.lang.String newName)Sets the value of the 'Name' attribute.voidsetReturnType(OclType newReturnType)Sets the value of the 'Return Type' containment reference.java.lang.StringtoString()-
Methods inherited from class org.eclipse.m2m.atl.common.OCL.OclFeature
basicSetDefinition, eBasicRemoveFromContainerFeature, getDefinition, setDefinition
-
Methods inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement
getCommentsAfter, getCommentsBefore, getLocation, setLocation
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_EDEFAULT
protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.- See Also:
getName()
-
parameters
protected org.eclipse.emf.common.util.EList<Parameter> parameters
The cached value of the 'Parameters' containment reference list.- See Also:
getParameters()
-
returnType
protected OclType returnType
The cached value of the 'Return Type' containment reference.- See Also:
getReturnType()
-
body
protected OclExpression body
The cached value of the 'Body' containment reference.- See Also:
getBody()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classOclFeature
-
getName
public java.lang.String getName()
Returns the value of the 'Name' attribute.If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),OCLPackage.getOperation_Name()
-
setName
public void setName(java.lang.String newName)
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
getParameters
public org.eclipse.emf.common.util.EList<Parameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of typeParameter. It is bidirectional and its opposite is 'Operation'.If the meaning of the 'Parameters' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Parameters' containment reference list.
- See Also:
OCLPackage.getOperation_Parameters(),Parameter.getOperation()
-
getReturnType
public OclType getReturnType()
Returns the value of the 'Return Type' containment reference. It is bidirectional and its opposite is 'Operation'.If the meaning of the 'Return Type' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Return Type' containment reference.
- See Also:
setReturnType(OclType),OCLPackage.getOperation_ReturnType(),OclType.getOperation()
-
basicSetReturnType
public org.eclipse.emf.common.notify.NotificationChain basicSetReturnType(OclType newReturnType, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setReturnType
public void setReturnType(OclType newReturnType)
Sets the value of the 'Return Type' containment reference.- Parameters:
value- the new value of the 'Return Type' containment reference.- See Also:
getReturnType()
-
getBody
public OclExpression getBody()
Returns the value of the 'Body' containment reference. It is bidirectional and its opposite is 'Owning Operation'.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(OclExpression),OCLPackage.getOperation_Body(),OclExpression.getOwningOperation()
-
basicSetBody
public org.eclipse.emf.common.notify.NotificationChain basicSetBody(OclExpression newBody, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setBody
public void setBody(OclExpression newBody)
Sets the value of the 'Body' containment reference.- Parameters:
value- the new value of the 'Body' containment reference.- See Also:
getBody()
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseAddin classOclFeature
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classOclFeature
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classOclFeature
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classOclFeature
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classOclFeature
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classOclFeature
-
toString
public java.lang.String toString()
- Overrides:
toStringin classLocatedElement
-
-