org.eclipse.ocl.cst.impl
Class CSTNodeImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.cst.impl.CSTNodeImpl
All Implemented Interfaces:
CSTNode
Direct Known Subclasses:
CollectionLiteralPartCSImpl, ContextDeclCSImpl, DefExpressionCSImpl, InitOrDerValueCSImpl, InvOrDefCSImpl, IsMarkedPreCSImpl, OCLDocumentCSImpl, OCLExpressionCSImpl, OCLMessageArgCSImpl, OperationCSImpl, PackageDeclarationCSImpl, PrePostOrBodyDeclCSImpl, VariableCSImpl

public abstract class CSTNodeImpl
extends EObjectImpl
implements CSTNode

An implementation of the model object 'Node'.

The following features are implemented:


Field Summary
protected  java.lang.Object ast
          The cached value of the 'Ast' attribute
protected static java.lang.Object AST_EDEFAULT
          The default value of the 'Ast' attribute
protected static int END_OFFSET_EDEFAULT
          The default value of the 'End Offset' attribute
protected static IToken END_TOKEN_EDEFAULT
          The default value of the 'End Token' attribute
protected  int endOffset
          The cached value of the 'End Offset' attribute
protected  IToken endToken
          The cached value of the 'End Token' attribute
protected static int START_OFFSET_EDEFAULT
          The default value of the 'Start Offset' attribute
protected static IToken START_TOKEN_EDEFAULT
          The default value of the 'Start Token' attribute
protected  int startOffset
          The cached value of the 'Start Offset' attribute
protected  IToken startToken
          The cached value of the 'Start Token' attribute
 
Constructor Summary
protected CSTNodeImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.Object getAst()
           
 int getEndOffset()
           
 IToken getEndToken()
           
 int getStartOffset()
           
 IToken getStartToken()
           
 void setAst(java.lang.Object newAst)
           
 void setEndOffset(int newEndOffset)
           
 void setEndToken(IToken newEndToken)
           
 void setStartOffset(int newStartOffset)
           
 void setStartToken(IToken newStartToken)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_OFFSET_EDEFAULT

protected static final int START_OFFSET_EDEFAULT
The default value of the 'Start Offset' attribute.

See Also:
getStartOffset(), Constant Field Values

startOffset

protected int startOffset
The cached value of the 'Start Offset' attribute.

See Also:
getStartOffset()

END_OFFSET_EDEFAULT

protected static final int END_OFFSET_EDEFAULT
The default value of the 'End Offset' attribute.

See Also:
getEndOffset(), Constant Field Values

endOffset

protected int endOffset
The cached value of the 'End Offset' attribute.

See Also:
getEndOffset()

START_TOKEN_EDEFAULT

protected static final IToken START_TOKEN_EDEFAULT
The default value of the 'Start Token' attribute.

Since:
1.3
See Also:
getStartToken()

startToken

protected IToken startToken
The cached value of the 'Start Token' attribute.

Since:
1.3
See Also:
getStartToken()

END_TOKEN_EDEFAULT

protected static final IToken END_TOKEN_EDEFAULT
The default value of the 'End Token' attribute.

Since:
1.3
See Also:
getEndToken()

endToken

protected IToken endToken
The cached value of the 'End Token' attribute.

Since:
1.3
See Also:
getEndToken()

AST_EDEFAULT

protected static final java.lang.Object AST_EDEFAULT
The default value of the 'Ast' attribute.

Since:
1.3
See Also:
getAst()

ast

protected java.lang.Object ast
The cached value of the 'Ast' attribute.

Since:
1.3
See Also:
getAst()
Constructor Detail

CSTNodeImpl

protected CSTNodeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getStartOffset

public int getStartOffset()

Specified by:
getStartOffset in interface CSTNode
Returns:
the value of the 'Start Offset' attribute.
See Also:
CSTNode.setStartOffset(int), CSTPackage.getCSTNode_StartOffset()

setStartOffset

public void setStartOffset(int newStartOffset)

Specified by:
setStartOffset in interface CSTNode
Parameters:
newStartOffset - the new value of the 'Start Offset' attribute.
See Also:
CSTNode.getStartOffset()

getEndOffset

public int getEndOffset()

Specified by:
getEndOffset in interface CSTNode
Returns:
the value of the 'End Offset' attribute.
See Also:
CSTNode.setEndOffset(int), CSTPackage.getCSTNode_EndOffset()

setEndOffset

public void setEndOffset(int newEndOffset)

Specified by:
setEndOffset in interface CSTNode
Parameters:
newEndOffset - the new value of the 'End Offset' attribute.
See Also:
CSTNode.getEndOffset()

getStartToken

public IToken getStartToken()

Specified by:
getStartToken in interface CSTNode
Returns:
the value of the 'Start Token' attribute.
Since:
1.3
See Also:
CSTNode.setStartToken(IToken), CSTPackage.getCSTNode_StartToken()

setStartToken

public void setStartToken(IToken newStartToken)

Specified by:
setStartToken in interface CSTNode
Parameters:
newStartToken - the new value of the 'Start Token' attribute.
Since:
1.3
See Also:
CSTNode.getStartToken()

getEndToken

public IToken getEndToken()

Specified by:
getEndToken in interface CSTNode
Returns:
the value of the 'End Token' attribute.
Since:
1.3
See Also:
CSTNode.setEndToken(IToken), CSTPackage.getCSTNode_EndToken()

setEndToken

public void setEndToken(IToken newEndToken)

Specified by:
setEndToken in interface CSTNode
Parameters:
newEndToken - the new value of the 'End Token' attribute.
Since:
1.3
See Also:
CSTNode.getEndToken()

getAst

public java.lang.Object getAst()

Specified by:
getAst in interface CSTNode
Returns:
the value of the 'Ast' attribute.
Since:
1.3
See Also:
CSTNode.setAst(Object), CSTPackage.getCSTNode_Ast()

setAst

public void setAst(java.lang.Object newAst)

Specified by:
setAst in interface CSTNode
Parameters:
newAst - the new value of the 'Ast' attribute.
Since:
1.3
See Also:
CSTNode.getAst()

eGet

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


eSet

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


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public java.lang.String toString()


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