org.eclipse.ocl.cst.impl
Class DefCSImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.cst.impl.CSTNodeImpl
          extended by org.eclipse.ocl.cst.impl.InvOrDefCSImpl
              extended by org.eclipse.ocl.cst.impl.DefCSImpl
All Implemented Interfaces:
CSTNode, DefCS, InvOrDefCS

public class DefCSImpl
extends InvOrDefCSImpl
implements DefCS

An implementation of the model object 'Def CS'.

The following features are implemented:


Field Summary
protected  DefExpressionCS defExpressionCS
          The cached value of the 'Def Expression CS' containment reference
protected static boolean STATIC_EDEFAULT
          The default value of the 'Static' attribute
protected static int STATIC_EFLAG
          The flag representing the value of the 'Static' attribute
 
Fields inherited from class org.eclipse.ocl.cst.impl.InvOrDefCSImpl
simpleNameCS
 
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 DefCSImpl()
           
 
Method Summary
 NotificationChain basicSetDefExpressionCS(DefExpressionCS newDefExpressionCS, 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)
           
 DefExpressionCS getDefExpressionCS()
           
 boolean isStatic()
           
 void setDefExpressionCS(DefExpressionCS newDefExpressionCS)
           
 void setStatic(boolean newStatic)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.cst.impl.InvOrDefCSImpl
basicSetSimpleNameCS, getSimpleNameCS, setSimpleNameCS
 
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.InvOrDefCS
getSimpleNameCS, setSimpleNameCS
 
Methods inherited from interface org.eclipse.ocl.cst.CSTNode
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 

Field Detail

defExpressionCS

protected DefExpressionCS defExpressionCS
The cached value of the 'Def Expression CS' containment reference.

See Also:
getDefExpressionCS()

STATIC_EDEFAULT

protected static final boolean STATIC_EDEFAULT
The default value of the 'Static' attribute.

Since:
3.0
See Also:
isStatic(), Constant Field Values

STATIC_EFLAG

protected static final int STATIC_EFLAG
The flag representing the value of the 'Static' attribute.

Since:
3.0
See Also:
isStatic(), Constant Field Values
Constructor Detail

DefCSImpl

protected DefCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class InvOrDefCSImpl

getDefExpressionCS

public DefExpressionCS getDefExpressionCS()

Specified by:
getDefExpressionCS in interface DefCS
Returns:
the value of the 'Def Expression CS' containment reference.
See Also:
DefCS.setDefExpressionCS(DefExpressionCS), CSTPackage.getDefCS_DefExpressionCS()

basicSetDefExpressionCS

public NotificationChain basicSetDefExpressionCS(DefExpressionCS newDefExpressionCS,
                                                 NotificationChain msgs)


setDefExpressionCS

public void setDefExpressionCS(DefExpressionCS newDefExpressionCS)

Specified by:
setDefExpressionCS in interface DefCS
Parameters:
newDefExpressionCS - the new value of the 'Def Expression CS' containment reference.
See Also:
DefCS.getDefExpressionCS()

isStatic

public boolean isStatic()

Specified by:
isStatic in interface DefCS
Returns:
the value of the 'Static' attribute.
Since:
3.0
See Also:
DefCS.setStatic(boolean), CSTPackage.getDefCS_Static()

setStatic

public void setStatic(boolean newStatic)

Specified by:
setStatic in interface DefCS
Parameters:
newStatic - the new value of the 'Static' attribute.
Since:
3.0
See Also:
DefCS.isStatic()

eInverseRemove

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

Overrides:
eInverseRemove in class InvOrDefCSImpl

eGet

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

Overrides:
eGet in class InvOrDefCSImpl

eSet

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

Overrides:
eSet in class InvOrDefCSImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class InvOrDefCSImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class InvOrDefCSImpl

toString

public java.lang.String toString()

Overrides:
toString in class CSTNodeImpl

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