de.uka.ipd.sdq.probfunction.impl
Class ContinuousSampleImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.probfunction.impl.ContinuousSampleImpl
All Implemented Interfaces:
ContinuousSample

public class ContinuousSampleImpl
extends EObjectImpl
implements ContinuousSample

An implementation of the model object 'Continuous Sample'.

The following features are implemented:


Field Summary
static String copyright
           
protected  double probability
          The cached value of the 'Probability' attribute.
protected static double PROBABILITY_EDEFAULT
          The default value of the 'Probability' attribute.
protected  double value
          The cached value of the 'Value' attribute.
protected static double VALUE_EDEFAULT
          The default value of the 'Value' attribute.
 
Constructor Summary
protected ContinuousSampleImpl()
           
 
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 getProbability()
           
 double getValue()
           
 void setProbability(double newProbability)
           
 void setValue(double newValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

PROBABILITY_EDEFAULT

protected static final double PROBABILITY_EDEFAULT
The default value of the 'Probability' attribute.

See Also:
getProbability(), Constant Field Values

probability

protected double probability
The cached value of the 'Probability' attribute.

See Also:
getProbability()
Constructor Detail

ContinuousSampleImpl

protected ContinuousSampleImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getValue

public double getValue()

Specified by:
getValue in interface ContinuousSample
Returns:
the value of the 'Value' attribute.
See Also:
ContinuousSample.setValue(double), ProbfunctionPackage.getContinuousSample_Value()

setValue

public void setValue(double newValue)

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

getProbability

public double getProbability()

Specified by:
getProbability in interface ContinuousSample
Returns:
the value of the 'Probability' attribute.
See Also:
ContinuousSample.setProbability(double), ProbfunctionPackage.getContinuousSample_Probability()

setProbability

public void setProbability(double newProbability)

Specified by:
setProbability in interface ContinuousSample
Parameters:
newProbability - the new value of the 'Probability' attribute.
See Also:
ContinuousSample.getProbability()

eGet

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


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()