org.eclipse.ocl.cst.impl
Class SimpleNameCSImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.cst.impl.CSTNodeImpl
          extended by org.eclipse.ocl.cst.impl.OCLExpressionCSImpl
              extended by org.eclipse.ocl.cst.impl.SimpleNameCSImpl
All Implemented Interfaces:
CSTNode, OCLExpressionCS, SimpleNameCS
Direct Known Subclasses:
BooleanLiteralExpCSImpl, CollectionTypeCSImpl, InvalidLiteralExpCSImpl, NullLiteralExpCSImpl, PrimitiveTypeCSImpl

public class SimpleNameCSImpl
extends OCLExpressionCSImpl
implements SimpleNameCS

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

VALUE_EDEFAULT

protected static final java.lang.String VALUE_EDEFAULT
The default value of the 'Value' attribute.

See Also:
getValue()

value

protected java.lang.String value
The cached value of the 'Value' attribute.

See Also:
getValue()

TYPE_EDEFAULT

protected static final SimpleTypeEnum TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()

type

protected SimpleTypeEnum type
The cached value of the 'Type' attribute.

See Also:
getType()
Constructor Detail

SimpleNameCSImpl

protected SimpleNameCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class OCLExpressionCSImpl

getValue

public java.lang.String getValue()

Specified by:
getValue in interface SimpleNameCS
Returns:
the value of the 'Value' attribute.
See Also:
SimpleNameCS.setValue(String), CSTPackage.getSimpleNameCS_Value()

setValue

public void setValue(java.lang.String newValue)

Specified by:
setValue in interface SimpleNameCS
Parameters:
newValue - the new value of the 'Value' attribute.
See Also:
SimpleNameCS.getValue()

getType

public SimpleTypeEnum getType()

Specified by:
getType in interface SimpleNameCS
Returns:
the value of the 'Type' attribute.
See Also:
SimpleTypeEnum, SimpleNameCS.setType(SimpleTypeEnum), CSTPackage.getSimpleNameCS_Type()

setType

public void setType(SimpleTypeEnum newType)

Specified by:
setType in interface SimpleNameCS
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
SimpleTypeEnum, SimpleNameCS.getType()

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.