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

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.DoubleLiteralImpl
All Implemented Interfaces:
Atom, BooleanExpression, Comparison, DoubleLiteral, Expression, IfElse, NumericLiteral, Power, Product, Term, Unary, UnitCarryingElement

public class DoubleLiteralImpl
extends NumericLiteralImpl
implements DoubleLiteral

An implementation of the model object 'Double Literal'.

The following features are implemented:


Field Summary
static String copyright
           
protected  double value
          The cached value of the 'Value' attribute.
protected static double 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 DoubleLiteralImpl()
           
 
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)
           
 double getValue()
           
 void setValue(double 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 double VALUE_EDEFAULT
The default value of the 'Value' attribute.

See Also:
getValue(), Constant Field Values

value

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

See Also:
getValue()
Constructor Detail

DoubleLiteralImpl

protected DoubleLiteralImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NumericLiteralImpl

getValue

public double getValue()

Specified by:
getValue in interface DoubleLiteral
Returns:
the value of the 'Value' attribute.
See Also:
DoubleLiteral.setValue(double), StoexPackage.getDoubleLiteral_Value()

setValue

public void setValue(double newValue)

Specified by:
setValue in interface DoubleLiteral
Parameters:
newValue - the new value of the 'Value' attribute.
See Also:
DoubleLiteral.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