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

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.units.impl.UnitCarryingElementImpl
          extended by de.uka.ipd.sdq.probfunction.impl.ProbabilityFunctionImpl
              extended by de.uka.ipd.sdq.probfunction.impl.ProbabilityDensityFunctionImpl
                  extended by de.uka.ipd.sdq.probfunction.impl.SamplePDFImpl
All Implemented Interfaces:
ProbabilityDensityFunction, ProbabilityFunction, SamplePDF, UnitCarryingElement

public class SamplePDFImpl
extends ProbabilityDensityFunctionImpl
implements SamplePDF

An implementation of the model object 'Sample PDF'.

The following features are implemented:


Field Summary
static String copyright
           
protected  double distance
          The cached value of the 'Distance' attribute.
protected static double DISTANCE_EDEFAULT
          The default value of the 'Distance' attribute.
protected   values
          The cached value of the 'Values' containment reference list.
 
Fields inherited from class de.uka.ipd.sdq.units.impl.UnitCarryingElementImpl
UNIT_SPECIFICATION_EDEFAULT, unitSpecification
 
Constructor Summary
protected SamplePDFImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 double getDistance()
           
  getValues()
           
 void setDistance(double newDistance)
           
 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

DISTANCE_EDEFAULT

protected static final double DISTANCE_EDEFAULT
The default value of the 'Distance' attribute.

See Also:
getDistance(), Constant Field Values

distance

protected double distance
The cached value of the 'Distance' attribute.

See Also:
getDistance()

values

protected  values
The cached value of the 'Values' containment reference list.

See Also:
getValues()
Constructor Detail

SamplePDFImpl

protected SamplePDFImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ProbabilityDensityFunctionImpl

getDistance

public double getDistance()

Specified by:
getDistance in interface SamplePDF
Returns:
the value of the 'Distance' attribute.
See Also:
SamplePDF.setDistance(double), ProbfunctionPackage.getSamplePDF_Distance()

setDistance

public void setDistance(double newDistance)

Specified by:
setDistance in interface SamplePDF
Parameters:
newDistance - the new value of the 'Distance' attribute.
See Also:
SamplePDF.getDistance()

getValues

public  getValues()

Specified by:
getValues in interface SamplePDF
Returns:
the value of the 'Values' containment reference list.
See Also:
ProbfunctionPackage.getSamplePDF_Values()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


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