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

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.ProbabilityMassFunctionImpl
All Implemented Interfaces:
ProbabilityFunction, ProbabilityMassFunction, UnitCarryingElement

public class ProbabilityMassFunctionImpl
extends ProbabilityFunctionImpl
implements ProbabilityMassFunction

An implementation of the model object 'Probability Mass Function'.

The following features are implemented:


Field Summary
static String copyright
           
protected static boolean ORDERED_DOMAIN_EDEFAULT
          The default value of the 'Ordered Domain' attribute.
protected  boolean orderedDomain
          The cached value of the 'Ordered Domain' attribute.
protected   samples
          The cached value of the 'Samples' containment reference list.
 
Fields inherited from class de.uka.ipd.sdq.units.impl.UnitCarryingElementImpl
UNIT_SPECIFICATION_EDEFAULT, unitSpecification
 
Constructor Summary
protected ProbabilityMassFunctionImpl()
           
 
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)
           
  getSamples()
           
 boolean isOrderedDomain()
           
 void setOrderedDomain(boolean newOrderedDomain)
           
 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

samples

protected  samples
The cached value of the 'Samples' containment reference list.

See Also:
getSamples()

ORDERED_DOMAIN_EDEFAULT

protected static final boolean ORDERED_DOMAIN_EDEFAULT
The default value of the 'Ordered Domain' attribute.

See Also:
isOrderedDomain(), Constant Field Values

orderedDomain

protected boolean orderedDomain
The cached value of the 'Ordered Domain' attribute.

See Also:
isOrderedDomain()
Constructor Detail

ProbabilityMassFunctionImpl

protected ProbabilityMassFunctionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ProbabilityFunctionImpl

getSamples

public  getSamples()

Specified by:
getSamples in interface ProbabilityMassFunction
Returns:
the value of the 'Samples' containment reference list.
See Also:
ProbfunctionPackage.getProbabilityMassFunction_Samples()

isOrderedDomain

public boolean isOrderedDomain()

Specified by:
isOrderedDomain in interface ProbabilityMassFunction
Returns:
the value of the 'Ordered Domain' attribute.
See Also:
ProbabilityMassFunction.setOrderedDomain(boolean), ProbfunctionPackage.getProbabilityMassFunction_OrderedDomain()

setOrderedDomain

public void setOrderedDomain(boolean newOrderedDomain)

Specified by:
setOrderedDomain in interface ProbabilityMassFunction
Parameters:
newOrderedDomain - the new value of the 'Ordered Domain' attribute.
See Also:
ProbabilityMassFunction.isOrderedDomain()

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