|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectETypedElementImpl
org.eclipse.ocl.ecore.impl.OCLExpressionImpl
org.eclipse.ocl.ecore.impl.MessageExpImpl
public class MessageExpImpl
An implementation of the model object 'Message Exp'.
The following features are implemented:
Field Summary | |
---|---|
protected |
argument
The cached value of the ' Argument ' containment reference list |
protected CallOperationAction |
calledOperation
The cached value of the ' Called Operation ' containment reference |
protected static int |
PROPERTY_END_POSITION_EDEFAULT
The default value of the ' Property End Position ' attribute |
protected static int |
PROPERTY_START_POSITION_EDEFAULT
The default value of the ' Property Start Position ' attribute |
protected int |
propertyEndPosition
The cached value of the ' Property End Position ' attribute |
protected int |
propertyStartPosition
The cached value of the ' Property Start Position ' attribute |
protected SendSignalAction |
sentSignal
The cached value of the ' Sent Signal ' containment reference |
protected OCLExpression<EClassifier> |
target
The cached value of the ' Target ' containment reference |
Fields inherited from class org.eclipse.ocl.ecore.impl.OCLExpressionImpl |
---|
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition |
Constructor Summary | |
---|---|
protected |
MessageExpImpl()
|
Method Summary | ||
---|---|---|
|
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,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
|
boolean |
checkOperationArguments(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
|
boolean |
checkSignalArguments(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
|
boolean |
checkTargetDefinesOperation(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
|
boolean |
checkTargetNotCollection(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()
|
|
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)
|
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.ocl.ecore.impl.OCLExpressionImpl |
---|
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement |
---|
getName, getType, setName, setType |
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
Methods inherited from interface org.eclipse.ocl.expressions.MessageExp |
---|
checkHasOperationOrSignal, checkOperationArguments, checkSignalArguments, checkTargetDefinesOperation, checkTargetNotCollection, setCalledOperation, setSentSignal, setTarget |
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement |
---|
getName, getType, setName, setType |
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
Field Detail |
---|
protected static final int PROPERTY_START_POSITION_EDEFAULT
Property Start Position
' attribute.
getPropertyStartPosition()
,
Constant Field Valuesprotected int propertyStartPosition
Property Start Position
' attribute.
getPropertyStartPosition()
protected static final int PROPERTY_END_POSITION_EDEFAULT
Property End Position
' attribute.
getPropertyEndPosition()
,
Constant Field Valuesprotected int propertyEndPosition
Property End Position
' attribute.
getPropertyEndPosition()
protected OCLExpression<EClassifier> target
Target
' containment reference.
getTarget()
protectedargument
Argument
' containment reference list.
getArgument()
protected CallOperationAction calledOperation
Called Operation
' containment reference.
getCalledOperation()
protected SendSignalAction sentSignal
Sent Signal
' containment reference.
getSentSignal()
Constructor Detail |
---|
protected MessageExpImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class OCLExpressionImpl
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)
publicgetArgument()
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)
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)
public boolean checkOperationArguments(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
public boolean checkSignalArguments(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
public boolean checkTargetDefinesOperation(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
public boolean checkHasOperationOrSignal(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
public boolean checkTargetNotCollection(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class OCLExpressionImpl
public void eSet(int featureID, java.lang.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, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in class OCLExpressionImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in class OCLExpressionImpl
public java.lang.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 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |