org.eclipse.ocl.cst.impl
Class PrimitiveLiteralExpCSImpl

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.LiteralExpCSImpl
                  extended by org.eclipse.ocl.cst.impl.PrimitiveLiteralExpCSImpl
All Implemented Interfaces:
CSTNode, LiteralExpCS, OCLExpressionCS, PrimitiveLiteralExpCS
Direct Known Subclasses:
IntegerLiteralExpCSImpl, RealLiteralExpCSImpl, StringLiteralExpCSImpl, UnlimitedNaturalLiteralExpCSImpl

public class PrimitiveLiteralExpCSImpl
extends LiteralExpCSImpl
implements PrimitiveLiteralExpCS

An implementation of the model object 'Primitive Literal Exp CS'.

The following features are implemented:


Field Summary
protected  java.lang.String symbol
          The cached value of the 'Symbol' attribute
protected static java.lang.String SYMBOL_EDEFAULT
          The default value of the 'Symbol' 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 PrimitiveLiteralExpCSImpl()
           
 
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.String getSymbol()
           
 void setSymbol(java.lang.String newSymbol)
           
 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

SYMBOL_EDEFAULT

protected static final java.lang.String SYMBOL_EDEFAULT
The default value of the 'Symbol' attribute.

See Also:
getSymbol()

symbol

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

See Also:
getSymbol()
Constructor Detail

PrimitiveLiteralExpCSImpl

protected PrimitiveLiteralExpCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class LiteralExpCSImpl

getSymbol

public java.lang.String getSymbol()

Specified by:
getSymbol in interface PrimitiveLiteralExpCS
Returns:
the value of the 'Symbol' attribute.
See Also:
PrimitiveLiteralExpCS.setSymbol(String), CSTPackage.getPrimitiveLiteralExpCS_Symbol()

setSymbol

public void setSymbol(java.lang.String newSymbol)

Specified by:
setSymbol in interface PrimitiveLiteralExpCS
Parameters:
newSymbol - the new value of the 'Symbol' attribute.
See Also:
PrimitiveLiteralExpCS.getSymbol()

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.