|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.ocl.cst.impl.CSTNodeImpl
public abstract class CSTNodeImpl
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 |
---|
protected static final int START_OFFSET_EDEFAULT
Start Offset
' attribute.
getStartOffset()
,
Constant Field Valuesprotected int startOffset
Start Offset
' attribute.
getStartOffset()
protected static final int END_OFFSET_EDEFAULT
End Offset
' attribute.
getEndOffset()
,
Constant Field Valuesprotected int endOffset
End Offset
' attribute.
getEndOffset()
protected static final IToken START_TOKEN_EDEFAULT
Start Token
' attribute.
getStartToken()
protected IToken startToken
Start Token
' attribute.
getStartToken()
protected static final IToken END_TOKEN_EDEFAULT
End Token
' attribute.
getEndToken()
protected IToken endToken
End Token
' attribute.
getEndToken()
protected static final java.lang.Object AST_EDEFAULT
Ast
' attribute.
getAst()
protected java.lang.Object ast
Ast
' attribute.
getAst()
Constructor Detail |
---|
protected CSTNodeImpl()
Method Detail |
---|
protected EClass eStaticClass()
public int getStartOffset()
getStartOffset
in interface CSTNode
CSTNode.setStartOffset(int)
,
CSTPackage.getCSTNode_StartOffset()
public void setStartOffset(int newStartOffset)
setStartOffset
in interface CSTNode
newStartOffset
- the new value of the 'Start Offset' attribute.CSTNode.getStartOffset()
public int getEndOffset()
getEndOffset
in interface CSTNode
CSTNode.setEndOffset(int)
,
CSTPackage.getCSTNode_EndOffset()
public void setEndOffset(int newEndOffset)
setEndOffset
in interface CSTNode
newEndOffset
- the new value of the 'End Offset' attribute.CSTNode.getEndOffset()
public IToken getStartToken()
getStartToken
in interface CSTNode
CSTNode.setStartToken(IToken)
,
CSTPackage.getCSTNode_StartToken()
public void setStartToken(IToken newStartToken)
setStartToken
in interface CSTNode
newStartToken
- the new value of the 'Start Token' attribute.CSTNode.getStartToken()
public IToken getEndToken()
getEndToken
in interface CSTNode
CSTNode.setEndToken(IToken)
,
CSTPackage.getCSTNode_EndToken()
public void setEndToken(IToken newEndToken)
setEndToken
in interface CSTNode
newEndToken
- the new value of the 'End Token' attribute.CSTNode.getEndToken()
public java.lang.Object getAst()
getAst
in interface CSTNode
CSTNode.setAst(Object)
,
CSTPackage.getCSTNode_Ast()
public void setAst(java.lang.Object newAst)
setAst
in interface CSTNode
newAst
- the new value of the 'Ast' attribute.CSTNode.getAst()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public java.lang.String toString()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |