org.eclipse.ocl.cst.impl
Class OCLMessageArgCSImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.cst.impl.CSTNodeImpl
          extended by org.eclipse.ocl.cst.impl.OCLMessageArgCSImpl
All Implemented Interfaces:
CSTNode, OCLMessageArgCS

public class OCLMessageArgCSImpl
extends CSTNodeImpl
implements OCLMessageArgCS

An implementation of the model object 'OCL Message Arg CS'.

The following features are implemented:


Field Summary
protected  OCLExpressionCS expression
          The cached value of the 'Expression' containment reference
protected  TypeCS typeCS
          The cached value of the 'Type CS' 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 OCLMessageArgCSImpl()
           
 
Method Summary
 NotificationChain basicSetExpression(OCLExpressionCS newExpression, NotificationChain msgs)
           
 NotificationChain basicSetTypeCS(TypeCS newTypeCS, 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)
           
 OCLExpressionCS getExpression()
           
 TypeCS getTypeCS()
           
 void setExpression(OCLExpressionCS newExpression)
           
 void setTypeCS(TypeCS newTypeCS)
           
 
Methods inherited from class org.eclipse.ocl.cst.impl.CSTNodeImpl
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken, toString
 
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

typeCS

protected TypeCS typeCS
The cached value of the 'Type CS' containment reference.

See Also:
getTypeCS()

expression

protected OCLExpressionCS expression
The cached value of the 'Expression' containment reference.

See Also:
getExpression()
Constructor Detail

OCLMessageArgCSImpl

protected OCLMessageArgCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CSTNodeImpl

getTypeCS

public TypeCS getTypeCS()

Specified by:
getTypeCS in interface OCLMessageArgCS
Returns:
the value of the 'Type CS' containment reference.
See Also:
OCLMessageArgCS.setTypeCS(TypeCS), CSTPackage.getOCLMessageArgCS_TypeCS()

basicSetTypeCS

public NotificationChain basicSetTypeCS(TypeCS newTypeCS,
                                        NotificationChain msgs)


setTypeCS

public void setTypeCS(TypeCS newTypeCS)

Specified by:
setTypeCS in interface OCLMessageArgCS
Parameters:
newTypeCS - the new value of the 'Type CS' containment reference.
See Also:
OCLMessageArgCS.getTypeCS()

getExpression

public OCLExpressionCS getExpression()

Specified by:
getExpression in interface OCLMessageArgCS
Returns:
the value of the 'Expression' containment reference.
See Also:
OCLMessageArgCS.setExpression(OCLExpressionCS), CSTPackage.getOCLMessageArgCS_Expression()

basicSetExpression

public NotificationChain basicSetExpression(OCLExpressionCS newExpression,
                                            NotificationChain msgs)


setExpression

public void setExpression(OCLExpressionCS newExpression)

Specified by:
setExpression in interface OCLMessageArgCS
Parameters:
newExpression - the new value of the 'Expression' containment reference.
See Also:
OCLMessageArgCS.getExpression()

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

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