de.uka.ipd.sdq.stoex.impl
Class IntLiteralImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.units.impl.UnitCarryingElementImpl
          extended by de.uka.ipd.sdq.stoex.impl.NumericLiteralImpl
              extended by de.uka.ipd.sdq.stoex.impl.IntLiteralImpl
All Implemented Interfaces:
Atom, BooleanExpression, Comparison, Expression, IfElse, IntLiteral, NumericLiteral, Power, Product, Term, Unary, UnitCarryingElement

public class IntLiteralImpl
extends NumericLiteralImpl
implements IntLiteral

An implementation of the model object 'Int Literal'.

The following features are implemented:


Field Summary
static String copyright
           
protected  int value
          The cached value of the 'Value' attribute.
protected static int VALUE_EDEFAULT
          The default value of the 'Value' attribute.
 
Fields inherited from class de.uka.ipd.sdq.units.impl.UnitCarryingElementImpl
UNIT_SPECIFICATION_EDEFAULT, unitSpecification
 
Constructor Summary
protected IntLiteralImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getValue()
           
 void setValue(int newValue)
           
 String toString()
           
 
Methods inherited from class de.uka.ipd.sdq.units.impl.UnitCarryingElementImpl
basicGetUnit, getUnit, getUnitSpecification, setUnitSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.uka.ipd.sdq.units.UnitCarryingElement
getUnit, getUnitSpecification, setUnitSpecification
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

VALUE_EDEFAULT

protected static final int VALUE_EDEFAULT
The default value of the 'Value' attribute.

See Also:
getValue(), Constant Field Values

value

protected int value
The cached value of the 'Value' attribute.

See Also:
getValue()
Constructor Detail

IntLiteralImpl

protected IntLiteralImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NumericLiteralImpl

getValue

public int getValue()

Specified by:
getValue in interface IntLiteral
Returns:
the value of the 'Value' attribute.
See Also:
IntLiteral.setValue(int), StoexPackage.getIntLiteral_Value()

setValue

public void setValue(int newValue)

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

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Overrides:
eGet in class UnitCarryingElementImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class UnitCarryingElementImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class UnitCarryingElementImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class UnitCarryingElementImpl

toString

public String toString()

Overrides:
toString in class UnitCarryingElementImpl