org.eclipse.ocl.cst.impl
Class PrePostOrBodyDeclCSImpl

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

public class PrePostOrBodyDeclCSImpl
extends CSTNodeImpl
implements PrePostOrBodyDeclCS

An implementation of the model object 'Pre Post Or Body Decl CS'.

The following features are implemented:


Field Summary
protected  OCLExpressionCS expressionCS
          The cached value of the 'Expression CS' containment reference
protected  PrePostOrBodyEnum kind
          The cached value of the 'Kind' attribute
protected static PrePostOrBodyEnum KIND_EDEFAULT
          The default value of the 'Kind' attribute
protected  SimpleNameCS simpleNameCS
          The cached value of the 'Simple Name 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 PrePostOrBodyDeclCSImpl()
           
 
Method Summary
 NotificationChain basicSetExpressionCS(OCLExpressionCS newExpressionCS, NotificationChain msgs)
           
 NotificationChain basicSetSimpleNameCS(SimpleNameCS newSimpleNameCS, 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()
           
 PrePostOrBodyEnum getKind()
           
 SimpleNameCS getSimpleNameCS()
           
 void setExpressionCS(OCLExpressionCS newExpressionCS)
           
 void setKind(PrePostOrBodyEnum newKind)
           
 void setSimpleNameCS(SimpleNameCS newSimpleNameCS)
           
 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

KIND_EDEFAULT

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

See Also:
getKind()

kind

protected PrePostOrBodyEnum 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()

expressionCS

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

See Also:
getExpressionCS()
Constructor Detail

PrePostOrBodyDeclCSImpl

protected PrePostOrBodyDeclCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CSTNodeImpl

getKind

public PrePostOrBodyEnum getKind()

Specified by:
getKind in interface PrePostOrBodyDeclCS
Returns:
the value of the 'Kind' attribute.
See Also:
PrePostOrBodyEnum, PrePostOrBodyDeclCS.setKind(PrePostOrBodyEnum), CSTPackage.getPrePostOrBodyDeclCS_Kind()

setKind

public void setKind(PrePostOrBodyEnum newKind)

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

getSimpleNameCS

public SimpleNameCS getSimpleNameCS()

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

basicSetSimpleNameCS

public NotificationChain basicSetSimpleNameCS(SimpleNameCS newSimpleNameCS,
                                              NotificationChain msgs)


setSimpleNameCS

public void setSimpleNameCS(SimpleNameCS newSimpleNameCS)

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

getExpressionCS

public OCLExpressionCS getExpressionCS()

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

basicSetExpressionCS

public NotificationChain basicSetExpressionCS(OCLExpressionCS newExpressionCS,
                                              NotificationChain msgs)


setExpressionCS

public void setExpressionCS(OCLExpressionCS newExpressionCS)

Specified by:
setExpressionCS in interface PrePostOrBodyDeclCS
Parameters:
newExpressionCS - the new value of the 'Expression CS' containment reference.
See Also:
PrePostOrBodyDeclCS.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

toString

public java.lang.String toString()

Overrides:
toString in class CSTNodeImpl

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