scheduler.configuration.impl
Class TimeValueImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.units.impl.UnitCarryingElementImpl
          extended by scheduler.configuration.impl.TimeValueImpl
All Implemented Interfaces:
UnitCarryingElement, TimeValue

public class TimeValueImpl
extends UnitCarryingElementImpl
implements TimeValue

An implementation of the model object 'Time Value'.

The following features are implemented:


Field Summary
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
copyright, UNIT_SPECIFICATION_EDEFAULT, unitSpecification
 
Fields inherited from interface de.uka.ipd.sdq.units.UnitCarryingElement
copyright
 
Constructor Summary
protected TimeValueImpl()
           
 
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

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

TimeValueImpl

protected TimeValueImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class UnitCarryingElementImpl

getValue

public double getValue()

Specified by:
getValue in interface TimeValue
Returns:
the value of the 'Value' attribute.
See Also:
TimeValue.setValue(double), ConfigurationPackage.getTimeValue_Value()

setValue

public void setValue(double newValue)

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