|
||||||||||
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.VariableCSImpl
public class VariableCSImpl
An implementation of the model object 'Variable CS'.
The following features are implemented:
Field Summary | |
---|---|
protected OCLExpressionCS |
initExpression
The cached value of the ' Init Expression ' containment reference |
protected java.lang.String |
name
The cached value of the ' Name ' attribute |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the ' Name ' attribute |
protected TypeCS |
typeCS
The cached value of the ' Type 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 |
VariableCSImpl()
|
Method Summary | |
---|---|
NotificationChain |
basicSetInitExpression(OCLExpressionCS newInitExpression,
NotificationChain msgs)
|
NotificationChain |
basicSetTypeCS(TypeCS newTypeCS,
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 |
getInitExpression()
|
java.lang.String |
getName()
|
TypeCS |
getTypeCS()
|
void |
setInitExpression(OCLExpressionCS newInitExpression)
|
void |
setName(java.lang.String newName)
|
void |
setTypeCS(TypeCS newTypeCS)
|
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 NAME_EDEFAULT
Name
' attribute.
getName()
protected java.lang.String name
Name
' attribute.
getName()
protected TypeCS typeCS
Type CS
' containment reference.
getTypeCS()
protected OCLExpressionCS initExpression
Init Expression
' containment reference.
getInitExpression()
Constructor Detail |
---|
protected VariableCSImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class CSTNodeImpl
public java.lang.String getName()
getName
in interface VariableCS
VariableCS.setName(String)
,
CSTPackage.getVariableCS_Name()
public void setName(java.lang.String newName)
setName
in interface VariableCS
newName
- the new value of the 'Name' attribute.VariableCS.getName()
public TypeCS getTypeCS()
getTypeCS
in interface VariableCS
VariableCS.setTypeCS(TypeCS)
,
CSTPackage.getVariableCS_TypeCS()
public NotificationChain basicSetTypeCS(TypeCS newTypeCS, NotificationChain msgs)
public void setTypeCS(TypeCS newTypeCS)
setTypeCS
in interface VariableCS
newTypeCS
- the new value of the 'Type CS' containment reference.VariableCS.getTypeCS()
public OCLExpressionCS getInitExpression()
getInitExpression
in interface VariableCS
VariableCS.setInitExpression(OCLExpressionCS)
,
CSTPackage.getVariableCS_InitExpression()
public NotificationChain basicSetInitExpression(OCLExpressionCS newInitExpression, NotificationChain msgs)
public void setInitExpression(OCLExpressionCS newInitExpression)
setInitExpression
in interface VariableCS
newInitExpression
- the new value of the 'Init Expression' containment reference.VariableCS.getInitExpression()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
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 |