org.eclipse.ocl.ecore.impl
Class OperationCallExpImpl
java.lang.Object
ETypedElementImpl
org.eclipse.ocl.ecore.impl.OCLExpressionImpl
org.eclipse.ocl.ecore.impl.CallExpImpl
org.eclipse.ocl.ecore.impl.FeatureCallExpImpl
org.eclipse.ocl.ecore.impl.OperationCallExpImpl
- All Implemented Interfaces:
- CallExp<EClassifier>, FeatureCallExp<EClassifier>, OCLExpression<EClassifier>, OperationCallExp<EClassifier,EOperation>, ASTNode, CallingASTNode, TypedElement<EClassifier>, Visitable
public class OperationCallExpImpl
- extends FeatureCallExpImpl
- implements OperationCallExp
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)
|
EOperation |
basicGetReferredOperation()
|
boolean |
checkArgumentCount(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
boolean |
checkArgumentsConform(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
|
getArgument()
|
int |
getOperationCode()
|
EOperation |
getReferredOperation()
|
void |
setOperationCode(int newOperationCode)
|
void |
setReferredOperation(EOperation newReferredOperation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
argument
protected argument
- The cached value of the '
Argument
' containment reference list.
- See Also:
getArgument()
referredOperation
protected EOperation 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
getArgument
public getArgument()
-
- Specified by:
getArgument
in interface OperationCallExp<EClassifier,EOperation>
- Returns:
- the value of the 'Argument' containment reference list.
- See Also:
ExpressionsPackage.getOperationCallExp_Argument()
getReferredOperation
public EOperation getReferredOperation()
-
- Specified by:
getReferredOperation
in interface OperationCallExp<EClassifier,EOperation>
- Returns:
- the value of the 'Referred Operation' reference.
- See Also:
OperationCallExp.setReferredOperation(Object)
,
ExpressionsPackage.getOperationCallExp_ReferredOperation()
basicGetReferredOperation
public EOperation basicGetReferredOperation()
-
setReferredOperation
public void setReferredOperation(EOperation newReferredOperation)
-
- Specified by:
setReferredOperation
in interface OperationCallExp<EClassifier,EOperation>
- Parameters:
newReferredOperation
- the new value of the 'Referred Operation' reference.- See Also:
OperationCallExp.getReferredOperation()
getOperationCode
public int getOperationCode()
-
- Specified by:
getOperationCode
in interface OperationCallExp<EClassifier,EOperation>
- 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<EClassifier,EOperation>
- Parameters:
newOperationCode
- the new value of the 'Operation Code' attribute.- See Also:
OperationCallExp.getOperationCode()
checkArgumentsConform
public boolean checkArgumentsConform(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
-
checkArgumentCount
public boolean checkArgumentCount(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class CallExpImpl
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Overrides:
eGet
in class FeatureCallExpImpl
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Overrides:
eSet
in class FeatureCallExpImpl
eUnset
public void eUnset(int featureID)
-
- Overrides:
eUnset
in class FeatureCallExpImpl
eIsSet
public boolean eIsSet(int featureID)
-
- Overrides:
eIsSet
in class FeatureCallExpImpl
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
-
- Overrides:
eBaseStructuralFeatureID
in class FeatureCallExpImpl
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
-
- Overrides:
eDerivedStructuralFeatureID
in class FeatureCallExpImpl
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