org.eclipse.ocl.cst.impl
Class DefExpressionCSImpl

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

public class DefExpressionCSImpl
extends CSTNodeImpl
implements DefExpressionCS

An implementation of the model object 'Def Expression CS'.

The following features are implemented:


Field Summary
protected  OCLExpressionCS expressionCS
          The cached value of the 'Expression CS' containment reference
protected  OperationCS operationCS
          The cached value of the 'Operation CS' containment reference
protected  VariableCS variableCS
          The cached value of the 'Variable 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 DefExpressionCSImpl()
           
 
Method Summary
 NotificationChain basicSetExpressionCS(OCLExpressionCS newExpressionCS, NotificationChain msgs)
           
 NotificationChain basicSetOperationCS(OperationCS newOperationCS, NotificationChain msgs)
           
 NotificationChain basicSetVariableCS(VariableCS newVariableCS, 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 getExpressionCS()
           
 OperationCS getOperationCS()
           
 VariableCS getVariableCS()
           
 void setExpressionCS(OCLExpressionCS newExpressionCS)
           
 void setOperationCS(OperationCS newOperationCS)
           
 void setVariableCS(VariableCS newVariableCS)
           
 
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

operationCS

protected OperationCS operationCS
The cached value of the 'Operation CS' containment reference.

See Also:
getOperationCS()

variableCS

protected VariableCS variableCS
The cached value of the 'Variable CS' containment reference.

See Also:
getVariableCS()

expressionCS

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

See Also:
getExpressionCS()
Constructor Detail

DefExpressionCSImpl

protected DefExpressionCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CSTNodeImpl

getOperationCS

public OperationCS getOperationCS()

Specified by:
getOperationCS in interface DefExpressionCS
Returns:
the value of the 'Operation CS' containment reference.
See Also:
DefExpressionCS.setOperationCS(OperationCS), CSTPackage.getDefExpressionCS_OperationCS()

basicSetOperationCS

public NotificationChain basicSetOperationCS(OperationCS newOperationCS,
                                             NotificationChain msgs)


setOperationCS

public void setOperationCS(OperationCS newOperationCS)

Specified by:
setOperationCS in interface DefExpressionCS
Parameters:
newOperationCS - the new value of the 'Operation CS' containment reference.
See Also:
DefExpressionCS.getOperationCS()

getVariableCS

public VariableCS getVariableCS()

Specified by:
getVariableCS in interface DefExpressionCS
Returns:
the value of the 'Variable CS' containment reference.
See Also:
DefExpressionCS.setVariableCS(VariableCS), CSTPackage.getDefExpressionCS_VariableCS()

basicSetVariableCS

public NotificationChain basicSetVariableCS(VariableCS newVariableCS,
                                            NotificationChain msgs)


setVariableCS

public void setVariableCS(VariableCS newVariableCS)

Specified by:
setVariableCS in interface DefExpressionCS
Parameters:
newVariableCS - the new value of the 'Variable CS' containment reference.
See Also:
DefExpressionCS.getVariableCS()

getExpressionCS

public OCLExpressionCS getExpressionCS()

Specified by:
getExpressionCS in interface DefExpressionCS
Returns:
the value of the 'Expression CS' containment reference.
See Also:
DefExpressionCS.setExpressionCS(OCLExpressionCS), CSTPackage.getDefExpressionCS_ExpressionCS()

basicSetExpressionCS

public NotificationChain basicSetExpressionCS(OCLExpressionCS newExpressionCS,
                                              NotificationChain msgs)


setExpressionCS

public void setExpressionCS(OCLExpressionCS newExpressionCS)

Specified by:
setExpressionCS in interface DefExpressionCS
Parameters:
newExpressionCS - the new value of the 'Expression CS' containment reference.
See Also:
DefExpressionCS.getExpressionCS()

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.