Class CategoryImpl
- 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.binding.impl.ManifestationContainerImpl
-
- tools.mdsd.characteristics.manifestation.impl.CategoryImpl
-
- All Implemented Interfaces:
Notifier,EObject,EStructuralFeature.Internal.DynamicValueHolder,InternalEObject,ManifestationContainer,Category
public class CategoryImpl extends ManifestationContainerImpl implements Category
An implementation of the model object 'Category'.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 static EOperation.Internal.InvocationDelegateDETERMINE_VALUE_TYPE__EINVOCATION_DELEGATEThe cached invocation delegate for the 'Determine Value Type' operation.protected EStructuralFeature.Internal.SettingDelegatePROBABILITY__ESETTING_DELEGATEThe cached setting delegate for the 'Probability' attribute.protected doubleweightThe cached value of the 'Weight' attribute.protected static doubleWEIGHT_EDEFAULTThe default value of the 'Weight' attribute.-
Fields inherited from class tools.mdsd.characteristics.binding.impl.ManifestationContainerImpl
manifestation, VALUETYPE__ESETTING_DELEGATE
-
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 protectedCategoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationChainbasicSetProbabilityMassFunction(CategoricalProbabilityMassFunction newProbabilityMassFunction, NotificationChain msgs)ValueTypedetermineValueType()NotificationChaineBasicRemoveFromContainerFeature(NotificationChain msgs)ObjecteGet(int featureID, boolean resolve, boolean coreType)NotificationChaineInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)NotificationChaineInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected EClasseStaticClass()voideUnset(int featureID)doublegetProbability()CategoricalProbabilityMassFunctiongetProbabilityMassFunction()doublegetWeight()voidsetProbabilityMassFunction(CategoricalProbabilityMassFunction newProbabilityMassFunction)voidsetWeight(double newWeight)StringtoString()-
Methods inherited from class tools.mdsd.characteristics.binding.impl.ManifestationContainerImpl
basicGetValuetype, basicSetManifestation, getManifestation, getValuetype, setManifestation
-
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 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.binding.ManifestationContainer
getManifestation, getValuetype, setManifestation
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
WEIGHT_EDEFAULT
protected static final double WEIGHT_EDEFAULT
The default value of the 'Weight' attribute.- See Also:
getWeight(), Constant Field Values- Generated class or method.
- Ordered collection.
-
weight
protected double weight
The cached value of the 'Weight' attribute.- See Also:
getWeight()- Generated class or method.
- Ordered collection.
-
PROBABILITY__ESETTING_DELEGATE
protected EStructuralFeature.Internal.SettingDelegate PROBABILITY__ESETTING_DELEGATE
The cached setting delegate for the 'Probability' attribute.- See Also:
getProbability()- Generated class or method.
- Ordered collection.
-
DETERMINE_VALUE_TYPE__EINVOCATION_DELEGATE
protected static final EOperation.Internal.InvocationDelegate DETERMINE_VALUE_TYPE__EINVOCATION_DELEGATE
The cached invocation delegate for the 'Determine Value Type' operation.- See Also:
determineValueType()- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClassin classManifestationContainerImpl- Generated class or method.
-
getWeight
public double getWeight()
- Specified by:
getWeightin interfaceCategory- Returns:
- the value of the 'Weight' attribute.
- See Also:
Category.setWeight(double),ManifestationPackage.getCategory_Weight()- Generated class or method.
-
setWeight
public void setWeight(double newWeight)
- Specified by:
setWeightin interfaceCategory- Parameters:
newWeight- the new value of the 'Weight' attribute.- See Also:
Category.getWeight()- Generated class or method.
-
getProbability
public double getProbability()
- Specified by:
getProbabilityin interfaceCategory- Returns:
- the value of the 'Probability' attribute.
- See Also:
ManifestationPackage.getCategory_Probability()- Generated class or method.
-
getProbabilityMassFunction
public CategoricalProbabilityMassFunction getProbabilityMassFunction()
- Specified by:
getProbabilityMassFunctionin interfaceCategory- Returns:
- the value of the 'Probability Mass Function' container reference.
- See Also:
Category.setProbabilityMassFunction(CategoricalProbabilityMassFunction),ManifestationPackage.getCategory_ProbabilityMassFunction(),CategoricalProbabilityMassFunction.getCategories()- Generated class or method.
-
basicSetProbabilityMassFunction
public NotificationChain basicSetProbabilityMassFunction(CategoricalProbabilityMassFunction newProbabilityMassFunction, NotificationChain msgs)
- Generated class or method.
-
setProbabilityMassFunction
public void setProbabilityMassFunction(CategoricalProbabilityMassFunction newProbabilityMassFunction)
- Specified by:
setProbabilityMassFunctionin interfaceCategory- Parameters:
newProbabilityMassFunction- the new value of the 'Probability Mass Function' container reference.- See Also:
Category.getProbabilityMassFunction()- Generated class or method.
-
determineValueType
public ValueType determineValueType()
- Specified by:
determineValueTypein interfaceCategory- Specified by:
determineValueTypein interfaceManifestationContainer- Overrides:
determineValueTypein classManifestationContainerImpl- Generated class or method.
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseAddin classManifestationContainerImpl- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemovein classManifestationContainerImpl- Generated class or method.
-
eBasicRemoveFromContainerFeature
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeaturein classBasicEObjectImpl- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classManifestationContainerImpl- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classManifestationContainerImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classManifestationContainerImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classManifestationContainerImpl- Generated class or method.
-
toString
public String toString()
- Overrides:
toStringin classBasicEObjectImpl- Generated class or method.
-
-