org.eclipse.ocl.cst.impl
Class BooleanLiteralExpCSImpl

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
                  extended by org.eclipse.ocl.cst.impl.BooleanLiteralExpCSImpl
All Implemented Interfaces:
BooleanLiteralExpCS, CSTNode, LiteralExpCS, OCLExpressionCS, PrimitiveLiteralExpCS, SimpleNameCS

public class BooleanLiteralExpCSImpl
extends SimpleNameCSImpl
implements BooleanLiteralExpCS

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

The following features are implemented:


Field Summary
protected static java.lang.Boolean BOOLEAN_SYMBOL_EDEFAULT
          The default value of the 'Boolean Symbol' attribute
protected  java.lang.Boolean booleanSymbol
          The cached value of the 'Boolean Symbol' attribute
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.SimpleNameCSImpl
type, TYPE_EDEFAULT, value, VALUE_EDEFAULT
 
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 BooleanLiteralExpCSImpl()
           
 
Method Summary
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
           
 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.Boolean getBooleanSymbol()
           
 java.lang.String getSymbol()
           
 void setBooleanSymbol(java.lang.Boolean newBooleanSymbol)
           
 void setSymbol(java.lang.String newSymbol)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.cst.impl.SimpleNameCSImpl
getType, getValue, setType, setValue
 
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.SimpleNameCS
getType, getValue, setType, setValue
 

Field Detail

SYMBOL_EDEFAULT

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

Since:
3.0
See Also:
getSymbol()

symbol

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

Since:
3.0
See Also:
getSymbol()

BOOLEAN_SYMBOL_EDEFAULT

protected static final java.lang.Boolean BOOLEAN_SYMBOL_EDEFAULT
The default value of the 'Boolean Symbol' attribute.

See Also:
getBooleanSymbol()

booleanSymbol

protected java.lang.Boolean booleanSymbol
The cached value of the 'Boolean Symbol' attribute.

See Also:
getBooleanSymbol()
Constructor Detail

BooleanLiteralExpCSImpl

protected BooleanLiteralExpCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class SimpleNameCSImpl

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()

getBooleanSymbol

public java.lang.Boolean getBooleanSymbol()

Specified by:
getBooleanSymbol in interface BooleanLiteralExpCS
Returns:
the value of the 'Boolean Symbol' attribute.
See Also:
BooleanLiteralExpCS.setBooleanSymbol(Boolean), CSTPackage.getBooleanLiteralExpCS_BooleanSymbol()

setBooleanSymbol

public void setBooleanSymbol(java.lang.Boolean newBooleanSymbol)

Specified by:
setBooleanSymbol in interface BooleanLiteralExpCS
Parameters:
newBooleanSymbol - the new value of the 'Boolean Symbol' attribute.
See Also:
BooleanLiteralExpCS.getBooleanSymbol()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class SimpleNameCSImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class SimpleNameCSImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class SimpleNameCSImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class SimpleNameCSImpl

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)


eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)


toString

public java.lang.String toString()

Overrides:
toString in class SimpleNameCSImpl

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.