jBPM :: BPMN2 EMF Extension Model 6.1.0.Beta4

bpsim.impl
Class BinomialDistributionTypeImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by bpsim.impl.ParameterValueImpl
                  extended by bpsim.impl.DistributionParameterImpl
                      extended by bpsim.impl.BinomialDistributionTypeImpl
All Implemented Interfaces:
BinomialDistributionType, DistributionParameter, ParameterValue, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class BinomialDistributionTypeImpl
extends DistributionParameterImpl
implements BinomialDistributionType

An implementation of the model object 'Binomial Distribution Type'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  double probability
          The cached value of the 'Probability' attribute
protected static double PROBABILITY_EDEFAULT
          The default value of the 'Probability' attribute
protected  boolean probabilityESet
          This is true if the Probability attribute has been set
protected  long trials
          The cached value of the 'Trials' attribute
protected static long TRIALS_EDEFAULT
          The default value of the 'Trials' attribute
protected  boolean trialsESet
          This is true if the Trials attribute has been set
 
Fields inherited from class bpsim.impl.DistributionParameterImpl
CURRENCY_UNIT_EDEFAULT, currencyUnit, TIME_UNIT_EDEFAULT, timeUnit, timeUnitESet
 
Fields inherited from class bpsim.impl.ParameterValueImpl
instance, INSTANCE_EDEFAULT, result, RESULT_EDEFAULT, resultESet, VALID_FOR_EDEFAULT, validFor
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected BinomialDistributionTypeImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 double getProbability()
           
 long getTrials()
           
 boolean isSetProbability()
           
 boolean isSetTrials()
           
 void setProbability(double newProbability)
           
 void setTrials(long newTrials)
           
 String toString()
           
 void unsetProbability()
           
 void unsetTrials()
           
 
Methods inherited from class bpsim.impl.DistributionParameterImpl
getCurrencyUnit, getTimeUnit, isSetTimeUnit, setCurrencyUnit, setTimeUnit, unsetTimeUnit
 
Methods inherited from class bpsim.impl.ParameterValueImpl
getInstance, getResult, getValidFor, isSetResult, setInstance, setResult, setValidFor, unsetResult
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface bpsim.DistributionParameter
getCurrencyUnit, getTimeUnit, isSetTimeUnit, setCurrencyUnit, setTimeUnit, unsetTimeUnit
 
Methods inherited from interface bpsim.ParameterValue
getInstance, getResult, getValidFor, isSetResult, setInstance, setResult, setValidFor, unsetResult
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

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

probabilityESet

protected boolean probabilityESet
This is true if the Probability attribute has been set.


TRIALS_EDEFAULT

protected static final long TRIALS_EDEFAULT
The default value of the 'Trials' attribute.

See Also:
getTrials(), Constant Field Values

trials

protected long trials
The cached value of the 'Trials' attribute.

See Also:
getTrials()

trialsESet

protected boolean trialsESet
This is true if the Trials attribute has been set.

Constructor Detail

BinomialDistributionTypeImpl

protected BinomialDistributionTypeImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class DistributionParameterImpl

getProbability

public double getProbability()

Specified by:
getProbability in interface BinomialDistributionType
Returns:
the value of the 'Probability' attribute.
See Also:
BinomialDistributionType.isSetProbability(), BinomialDistributionType.unsetProbability(), BinomialDistributionType.setProbability(double), BpsimPackage.getBinomialDistributionType_Probability()

setProbability

public void setProbability(double newProbability)

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

unsetProbability

public void unsetProbability()

Specified by:
unsetProbability in interface BinomialDistributionType
See Also:
BinomialDistributionType.isSetProbability(), BinomialDistributionType.getProbability(), BinomialDistributionType.setProbability(double)

isSetProbability

public boolean isSetProbability()

Specified by:
isSetProbability in interface BinomialDistributionType
Returns:
whether the value of the 'Probability' attribute is set.
See Also:
BinomialDistributionType.unsetProbability(), BinomialDistributionType.getProbability(), BinomialDistributionType.setProbability(double)

getTrials

public long getTrials()

Specified by:
getTrials in interface BinomialDistributionType
Returns:
the value of the 'Trials' attribute.
See Also:
BinomialDistributionType.isSetTrials(), BinomialDistributionType.unsetTrials(), BinomialDistributionType.setTrials(long), BpsimPackage.getBinomialDistributionType_Trials()

setTrials

public void setTrials(long newTrials)

Specified by:
setTrials in interface BinomialDistributionType
Parameters:
newTrials - the new value of the 'Trials' attribute.
See Also:
BinomialDistributionType.isSetTrials(), BinomialDistributionType.unsetTrials(), BinomialDistributionType.getTrials()

unsetTrials

public void unsetTrials()

Specified by:
unsetTrials in interface BinomialDistributionType
See Also:
BinomialDistributionType.isSetTrials(), BinomialDistributionType.getTrials(), BinomialDistributionType.setTrials(long)

isSetTrials

public boolean isSetTrials()

Specified by:
isSetTrials in interface BinomialDistributionType
Returns:
whether the value of the 'Trials' attribute is set.
See Also:
BinomialDistributionType.unsetTrials(), BinomialDistributionType.getTrials(), BinomialDistributionType.setTrials(long)

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class DistributionParameterImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class DistributionParameterImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class DistributionParameterImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class DistributionParameterImpl

toString

public String toString()

Overrides:
toString in class DistributionParameterImpl

jBPM :: BPMN2 EMF Extension Model 6.1.0.Beta4

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.