org.eclipse.ocl.cst.impl
Class VariableCSImpl

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

public class VariableCSImpl
extends CSTNodeImpl
implements VariableCS

An implementation of the model object 'Variable CS'.

The following features are implemented:


Field Summary
protected  OCLExpressionCS initExpression
          The cached value of the 'Init Expression' containment reference
protected  java.lang.String name
          The cached value of the 'Name' attribute
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute
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 VariableCSImpl()
           
 
Method Summary
 NotificationChain basicSetInitExpression(OCLExpressionCS newInitExpression, 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 getInitExpression()
           
 java.lang.String getName()
           
 TypeCS getTypeCS()
           
 void setInitExpression(OCLExpressionCS newInitExpression)
           
 void setName(java.lang.String newName)
           
 void setTypeCS(TypeCS newTypeCS)
           
 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

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()

typeCS

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

See Also:
getTypeCS()

initExpression

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

See Also:
getInitExpression()
Constructor Detail

VariableCSImpl

protected VariableCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CSTNodeImpl

getName

public java.lang.String getName()

Specified by:
getName in interface VariableCS
Returns:
the value of the 'Name' attribute.
See Also:
VariableCS.setName(String), CSTPackage.getVariableCS_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface VariableCS
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
VariableCS.getName()

getTypeCS

public TypeCS getTypeCS()

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

basicSetTypeCS

public NotificationChain basicSetTypeCS(TypeCS newTypeCS,
                                        NotificationChain msgs)


setTypeCS

public void setTypeCS(TypeCS newTypeCS)

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

getInitExpression

public OCLExpressionCS getInitExpression()

Specified by:
getInitExpression in interface VariableCS
Returns:
the value of the 'Init Expression' containment reference.
See Also:
VariableCS.setInitExpression(OCLExpressionCS), CSTPackage.getVariableCS_InitExpression()

basicSetInitExpression

public NotificationChain basicSetInitExpression(OCLExpressionCS newInitExpression,
                                                NotificationChain msgs)


setInitExpression

public void setInitExpression(OCLExpressionCS newInitExpression)

Specified by:
setInitExpression in interface VariableCS
Parameters:
newInitExpression - the new value of the 'Init Expression' containment reference.
See Also:
VariableCS.getInitExpression()

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.