public class MessageExpImpl extends OCLExpressionImpl implements MessageExp
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
NotificationChain |
basicSetCalledOperation(CallOperationAction newCalledOperation,
NotificationChain msgs) |
NotificationChain |
basicSetSentSignal(SendSignalAction newSentSignal,
NotificationChain msgs) |
NotificationChain |
basicSetTarget(OCLExpression<EClassifier> newTarget,
NotificationChain msgs) |
boolean |
checkHasOperationOrSignal(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
checkOperationArguments(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
checkSignalArguments(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
checkTargetDefinesOperation(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
checkTargetNotCollection(DiagnosticChain diagnostics,
Map<Object,Object> context) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass) |
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) |
void |
eUnset(int featureID) |
<any> |
getArgument() |
CallOperationAction |
getCalledOperation() |
int |
getPropertyEndPosition() |
int |
getPropertyStartPosition() |
SendSignalAction |
getSentSignal() |
OCLExpression<EClassifier> |
getTarget() |
void |
setCalledOperation(CallOperationAction newCalledOperation) |
void |
setPropertyEndPosition(int newPropertyEndPosition) |
void |
setPropertyStartPosition(int newPropertyStartPosition) |
void |
setSentSignal(SendSignalAction newSentSignal) |
void |
setTarget(OCLExpression<EClassifier> newTarget) |
String |
toString() |
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setType
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getType, setName, setType
getEndPosition, getStartPosition, setEndPosition, setStartPosition
public int getPropertyStartPosition()
getPropertyStartPosition
in interface CallingASTNode
CallingASTNode.setPropertyStartPosition(int)
,
UtilitiesPackage.getCallingASTNode_PropertyStartPosition()
public void setPropertyStartPosition(int newPropertyStartPosition)
setPropertyStartPosition
in interface CallingASTNode
newPropertyStartPosition
- the new value of the 'Property Start Position' attribute.CallingASTNode.getPropertyStartPosition()
public int getPropertyEndPosition()
getPropertyEndPosition
in interface CallingASTNode
CallingASTNode.setPropertyEndPosition(int)
,
UtilitiesPackage.getCallingASTNode_PropertyEndPosition()
public void setPropertyEndPosition(int newPropertyEndPosition)
setPropertyEndPosition
in interface CallingASTNode
newPropertyEndPosition
- the new value of the 'Property End Position' attribute.CallingASTNode.getPropertyEndPosition()
public OCLExpression<EClassifier> getTarget()
getTarget
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
MessageExp.setTarget(OCLExpression)
,
ExpressionsPackage.getMessageExp_Target()
public NotificationChain basicSetTarget(OCLExpression<EClassifier> newTarget, NotificationChain msgs)
public void setTarget(OCLExpression<EClassifier> newTarget)
setTarget
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
newTarget
- the new value of the 'Target' containment reference.MessageExp.getTarget()
public <any> getArgument()
getArgument
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
ExpressionsPackage.getMessageExp_Argument()
public CallOperationAction getCalledOperation()
getCalledOperation
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
MessageExp.setCalledOperation(Object)
,
ExpressionsPackage.getMessageExp_CalledOperation()
public NotificationChain basicSetCalledOperation(CallOperationAction newCalledOperation, NotificationChain msgs)
public void setCalledOperation(CallOperationAction newCalledOperation)
setCalledOperation
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
newCalledOperation
- the new value of the 'Called Operation' containment reference.MessageExp.getCalledOperation()
public SendSignalAction getSentSignal()
getSentSignal
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
MessageExp.setSentSignal(Object)
,
ExpressionsPackage.getMessageExp_SentSignal()
public NotificationChain basicSetSentSignal(SendSignalAction newSentSignal, NotificationChain msgs)
public void setSentSignal(SendSignalAction newSentSignal)
setSentSignal
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
newSentSignal
- the new value of the 'Sent Signal' containment reference.MessageExp.getSentSignal()
public boolean checkOperationArguments(DiagnosticChain diagnostics, Map<Object,Object> context)
checkOperationArguments
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkSignalArguments(DiagnosticChain diagnostics, Map<Object,Object> context)
checkSignalArguments
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkTargetDefinesOperation(DiagnosticChain diagnostics, Map<Object,Object> context)
checkTargetDefinesOperation
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkHasOperationOrSignal(DiagnosticChain diagnostics, Map<Object,Object> context)
checkHasOperationOrSignal
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkTargetNotCollection(DiagnosticChain diagnostics, Map<Object,Object> context)
checkTargetNotCollection
in interface MessageExp<EClassifier,CallOperationAction,SendSignalAction>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class OCLExpressionImpl
public void eSet(int featureID, Object newValue)
eSet
in class OCLExpressionImpl
public void eUnset(int featureID)
eUnset
in class OCLExpressionImpl
public boolean eIsSet(int featureID)
eIsSet
in class OCLExpressionImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
eBaseStructuralFeatureID
in class OCLExpressionImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
eDerivedStructuralFeatureID
in class OCLExpressionImpl
public String toString()
toString
in class OCLExpressionImpl
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
OCLExpressionImpl
accept
in interface Visitable
accept
in class OCLExpressionImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.