org.eclipse.ocl.cst.impl
Class MessageExpCSImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.cst.impl.CSTNodeImpl
          extended by org.eclipse.ocl.cst.impl.OCLExpressionCSImpl
              extended by org.eclipse.ocl.cst.impl.MessageExpCSImpl
All Implemented Interfaces:
CSTNode, MessageExpCS, OCLExpressionCS

public class MessageExpCSImpl
extends OCLExpressionCSImpl
implements MessageExpCS

An implementation of the model object 'Message Exp CS'.

The following features are implemented:


Field Summary
protected   arguments
          The cached value of the 'Arguments' containment reference list
protected  MessageExpKind kind
          The cached value of the 'Kind' attribute
protected static MessageExpKind KIND_EDEFAULT
          The default value of the 'Kind' attribute
protected  SimpleNameCS simpleNameCS
          The cached value of the 'Simple Name CS' containment reference
protected  OCLExpressionCS target
          The cached value of the 'Target' containment reference
 
Fields inherited from class org.eclipse.ocl.cst.impl.CSTNodeImpl
ast, AST_EDEFAULT, END_OFFSET_EDEFAULT, END_TOKEN_EDEFAULT, endOffset, endToken, START_OFFSET_EDEFAULT, START_TOKEN_EDEFAULT, startOffset, startToken
 
Constructor Summary
protected MessageExpCSImpl()
           
 
Method Summary
 NotificationChain basicSetSimpleNameCS(SimpleNameCS newSimpleNameCS, NotificationChain msgs)
           
 NotificationChain basicSetTarget(OCLExpressionCS newTarget, NotificationChain msgs)
           
 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)
           
  getArguments()
           
 MessageExpKind getKind()
           
 SimpleNameCS getSimpleNameCS()
           
 OCLExpressionCS getTarget()
           
 void setKind(MessageExpKind newKind)
           
 void setSimpleNameCS(SimpleNameCS newSimpleNameCS)
           
 void setTarget(OCLExpressionCS newTarget)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.cst.impl.CSTNodeImpl
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.cst.CSTNode
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 

Field Detail

target

protected OCLExpressionCS target
The cached value of the 'Target' containment reference.

See Also:
getTarget()

KIND_EDEFAULT

protected static final MessageExpKind KIND_EDEFAULT
The default value of the 'Kind' attribute.

See Also:
getKind()

kind

protected MessageExpKind kind
The cached value of the 'Kind' attribute.

See Also:
getKind()

simpleNameCS

protected SimpleNameCS simpleNameCS
The cached value of the 'Simple Name CS' containment reference.

See Also:
getSimpleNameCS()

arguments

protected  arguments
The cached value of the 'Arguments' containment reference list.

See Also:
getArguments()
Constructor Detail

MessageExpCSImpl

protected MessageExpCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class OCLExpressionCSImpl

getTarget

public OCLExpressionCS getTarget()

Specified by:
getTarget in interface MessageExpCS
Returns:
the value of the 'Target' containment reference.
See Also:
MessageExpCS.setTarget(OCLExpressionCS), CSTPackage.getMessageExpCS_Target()

basicSetTarget

public NotificationChain basicSetTarget(OCLExpressionCS newTarget,
                                        NotificationChain msgs)


setTarget

public void setTarget(OCLExpressionCS newTarget)

Specified by:
setTarget in interface MessageExpCS
Parameters:
newTarget - the new value of the 'Target' containment reference.
See Also:
MessageExpCS.getTarget()

getKind

public MessageExpKind getKind()

Specified by:
getKind in interface MessageExpCS
Returns:
the value of the 'Kind' attribute.
See Also:
MessageExpKind, MessageExpCS.setKind(MessageExpKind), CSTPackage.getMessageExpCS_Kind()

setKind

public void setKind(MessageExpKind newKind)

Specified by:
setKind in interface MessageExpCS
Parameters:
newKind - the new value of the 'Kind' attribute.
See Also:
MessageExpKind, MessageExpCS.getKind()

getSimpleNameCS

public SimpleNameCS getSimpleNameCS()

Specified by:
getSimpleNameCS in interface MessageExpCS
Returns:
the value of the 'Simple Name CS' containment reference.
See Also:
MessageExpCS.setSimpleNameCS(SimpleNameCS), CSTPackage.getMessageExpCS_SimpleNameCS()

basicSetSimpleNameCS

public NotificationChain basicSetSimpleNameCS(SimpleNameCS newSimpleNameCS,
                                              NotificationChain msgs)


setSimpleNameCS

public void setSimpleNameCS(SimpleNameCS newSimpleNameCS)

Specified by:
setSimpleNameCS in interface MessageExpCS
Parameters:
newSimpleNameCS - the new value of the 'Simple Name CS' containment reference.
See Also:
MessageExpCS.getSimpleNameCS()

getArguments

public  getArguments()

Specified by:
getArguments in interface MessageExpCS
Returns:
the value of the 'Arguments' containment reference list.
See Also:
CSTPackage.getMessageExpCS_Arguments()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class CSTNodeImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class CSTNodeImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class CSTNodeImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class CSTNodeImpl

toString

public java.lang.String toString()

Overrides:
toString in class CSTNodeImpl

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.