Class CategoricalProbabilityMassFunctionImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- tools.mdsd.characteristics.manifestation.impl.ManifestationImpl
-
- tools.mdsd.characteristics.manifestation.impl.ProbabilisticManifestationImpl
-
- tools.mdsd.characteristics.manifestation.impl.DiscreteProbabilityDistributionManifestationImpl
-
- tools.mdsd.characteristics.manifestation.impl.CategoricalProbabilityMassFunctionImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,CategoricalProbabilityMassFunction
,DiscreteProbabilityDistributionManifestation
,Manifestation
,ProbabilisticManifestation
public class CategoricalProbabilityMassFunctionImpl extends DiscreteProbabilityDistributionManifestationImpl implements CategoricalProbabilityMassFunction
An implementation of the model object 'Categorical Probability Mass Function'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected EList<Category>
categories
The cached value of the 'Categories
' containment reference list.protected EStructuralFeature.Internal.SettingDelegate
SUM_OF_CATEGORY_WEIGHTS__ESETTING_DELEGATE
The cached setting delegate for the 'Sum Of Category Weights
' attribute.-
Fields inherited from class tools.mdsd.characteristics.manifestation.impl.DiscreteProbabilityDistributionManifestationImpl
manifestations
-
Fields inherited from class tools.mdsd.characteristics.manifestation.impl.ManifestationImpl
storage, STORAGE_EDEFAULT
-
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
-
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CategoricalProbabilityMassFunctionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eGet(int featureID, boolean resolve, boolean coreType)
NotificationChain
eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
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)
EList<Category>
getCategories()
double
getSumOfCategoryWeights()
-
Methods inherited from class tools.mdsd.characteristics.manifestation.impl.DiscreteProbabilityDistributionManifestationImpl
getManifestations, setManifestations, toString
-
Methods inherited from class tools.mdsd.characteristics.manifestation.impl.ManifestationImpl
basicSetContainer, eBasicRemoveFromContainerFeature, getContainer, getStorage, sample, setContainer, setStorage
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, 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
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tools.mdsd.characteristics.manifestation.DiscreteProbabilityDistributionManifestation
getManifestations, setManifestations
-
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.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface tools.mdsd.characteristics.manifestation.Manifestation
getContainer, getStorage, sample, setContainer, setStorage
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
SUM_OF_CATEGORY_WEIGHTS__ESETTING_DELEGATE
protected EStructuralFeature.Internal.SettingDelegate SUM_OF_CATEGORY_WEIGHTS__ESETTING_DELEGATE
The cached setting delegate for the 'Sum Of Category Weights
' attribute.- See Also:
getSumOfCategoryWeights()
- Generated class or method.
- Ordered collection.
-
categories
protected EList<Category> categories
The cached value of the 'Categories
' containment reference list.- See Also:
getCategories()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classDiscreteProbabilityDistributionManifestationImpl
- Generated class or method.
-
getSumOfCategoryWeights
public double getSumOfCategoryWeights()
- Specified by:
getSumOfCategoryWeights
in interfaceCategoricalProbabilityMassFunction
- Returns:
- the value of the 'Sum Of Category Weights' attribute.
- See Also:
ManifestationPackage.getCategoricalProbabilityMassFunction_SumOfCategoryWeights()
- Generated class or method.
-
getCategories
public EList<Category> getCategories()
- Specified by:
getCategories
in interfaceCategoricalProbabilityMassFunction
- Returns:
- the value of the 'Categories' containment reference list.
- See Also:
ManifestationPackage.getCategoricalProbabilityMassFunction_Categories()
,Category.getProbabilityMassFunction()
- Generated class or method.
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseAdd
in classManifestationImpl
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classManifestationImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classDiscreteProbabilityDistributionManifestationImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classDiscreteProbabilityDistributionManifestationImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classDiscreteProbabilityDistributionManifestationImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classDiscreteProbabilityDistributionManifestationImpl
- Generated class or method.
-
-