|
||||||||||
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
org.eclipse.ocl.cst.impl.OCLExpressionCSImpl
org.eclipse.ocl.cst.impl.SimpleNameCSImpl
public class SimpleNameCSImpl
An implementation of the model object 'Simple Name CS'.
The following features are implemented:
Field Summary | |
---|---|
protected SimpleTypeEnum |
type
The cached value of the ' Type ' attribute |
protected static SimpleTypeEnum |
TYPE_EDEFAULT
The default value of the ' Type ' attribute |
protected java.lang.String |
value
The cached value of the ' Value ' attribute |
protected static java.lang.String |
VALUE_EDEFAULT
The default value of the ' Value ' attribute |
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 |
SimpleNameCSImpl()
|
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)
|
SimpleTypeEnum |
getType()
|
java.lang.String |
getValue()
|
void |
setType(SimpleTypeEnum newType)
|
void |
setValue(java.lang.String newValue)
|
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 |
---|
protected static final java.lang.String VALUE_EDEFAULT
Value
' attribute.
getValue()
protected java.lang.String value
Value
' attribute.
getValue()
protected static final SimpleTypeEnum TYPE_EDEFAULT
Type
' attribute.
getType()
protected SimpleTypeEnum type
Type
' attribute.
getType()
Constructor Detail |
---|
protected SimpleNameCSImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class OCLExpressionCSImpl
public java.lang.String getValue()
getValue
in interface SimpleNameCS
SimpleNameCS.setValue(String)
,
CSTPackage.getSimpleNameCS_Value()
public void setValue(java.lang.String newValue)
setValue
in interface SimpleNameCS
newValue
- the new value of the 'Value' attribute.SimpleNameCS.getValue()
public SimpleTypeEnum getType()
getType
in interface SimpleNameCS
SimpleTypeEnum
,
SimpleNameCS.setType(SimpleTypeEnum)
,
CSTPackage.getSimpleNameCS_Type()
public void setType(SimpleTypeEnum newType)
setType
in interface SimpleNameCS
newType
- the new value of the 'Type' attribute.SimpleTypeEnum
,
SimpleNameCS.getType()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class CSTNodeImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in class CSTNodeImpl
public void eUnset(int featureID)
eUnset
in class CSTNodeImpl
public boolean eIsSet(int featureID)
eIsSet
in class CSTNodeImpl
public java.lang.String toString()
toString
in class CSTNodeImpl
|
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 |