org.eclipse.ocl.expressions.impl
Class OperationCallExpImpl<C,O>
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.ocl.expressions.impl.OCLExpressionImpl<C>
org.eclipse.ocl.expressions.impl.CallExpImpl<C>
org.eclipse.ocl.expressions.impl.FeatureCallExpImpl<C>
org.eclipse.ocl.expressions.impl.OperationCallExpImpl<C,O>
- All Implemented Interfaces:
- Notifier, EObject, InternalEObject, CallExp<C>, FeatureCallExp<C>, OCLExpression<C>, OperationCallExp<C,O>, ASTNode, CallingASTNode, TypedElement<C>, Visitable
public class OperationCallExpImpl<C,O>
- extends FeatureCallExpImpl<C>
- implements OperationCallExp<C,O>
An implementation of the model object 'Operation Call Exp'.
The following features are implemented:
|
Method Summary |
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>>
T |
|
accept(U v)
|
O |
basicGetReferredOperation()
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
EList<OCLExpression<C>> |
getArgument()
|
int |
getOperationCode()
|
O |
getReferredOperation()
|
void |
setOperationCode(int newOperationCode)
|
void |
setReferredOperation(O newReferredOperation)
|
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
argument
protected EList<OCLExpression<C>> argument
- The cached value of the '
Argument' containment reference list.
- See Also:
getArgument()
referredOperation
protected O referredOperation
- The cached value of the '
Referred Operation' reference.
- See Also:
getReferredOperation()
OPERATION_CODE_EDEFAULT
protected static final int OPERATION_CODE_EDEFAULT
- The default value of the '
Operation Code' attribute.
- See Also:
getOperationCode(),
Constant Field Values
OperationCallExpImpl
protected OperationCallExpImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass in class FeatureCallExpImpl<C>
getArgument
public EList<OCLExpression<C>> getArgument()
-
- Specified by:
getArgument in interface OperationCallExp<C,O>
- Returns:
- the value of the 'Argument' containment reference list.
- See Also:
ExpressionsPackage.getOperationCallExp_Argument()
getReferredOperation
public O getReferredOperation()
-
- Specified by:
getReferredOperation in interface OperationCallExp<C,O>
- Returns:
- the value of the 'Referred Operation' reference.
- See Also:
OperationCallExp.setReferredOperation(Object),
ExpressionsPackage.getOperationCallExp_ReferredOperation()
basicGetReferredOperation
public O basicGetReferredOperation()
-
setReferredOperation
public void setReferredOperation(O newReferredOperation)
-
- Specified by:
setReferredOperation in interface OperationCallExp<C,O>
- Parameters:
newReferredOperation - the new value of the 'Referred Operation' reference.- See Also:
OperationCallExp.getReferredOperation()
getOperationCode
public int getOperationCode()
-
- Specified by:
getOperationCode in interface OperationCallExp<C,O>
- Returns:
- the value of the 'Operation Code' attribute.
- See Also:
OperationCallExp.setOperationCode(int),
ExpressionsPackage.getOperationCallExp_OperationCode()
setOperationCode
public void setOperationCode(int newOperationCode)
-
- Specified by:
setOperationCode in interface OperationCallExp<C,O>
- Parameters:
newOperationCode - the new value of the 'Operation Code' attribute.- See Also:
OperationCallExp.getOperationCode()
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseRemove in class CallExpImpl<C>
eGet
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet in interface InternalEObject- Overrides:
eGet in class FeatureCallExpImpl<C>
eSet
public void eSet(int featureID,
Object newValue)
-
- Specified by:
eSet in interface InternalEObject- Overrides:
eSet in class FeatureCallExpImpl<C>
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset in interface InternalEObject- Overrides:
eUnset in class FeatureCallExpImpl<C>
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet in interface InternalEObject- Overrides:
eIsSet in class FeatureCallExpImpl<C>
accept
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
- Description copied from class:
OCLExpressionImpl
-
- Specified by:
accept in interface Visitable- Overrides:
accept in class OCLExpressionImpl<C>