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.InvocationDelegate
DETERMINE_VALUE_TYPE__EINVOCATION_DELEGATE
The cached invocation delegate for the 'Determine Value Type
' operation.protected EStructuralFeature.Internal.SettingDelegate
PROBABILITY__ESETTING_DELEGATE
The cached setting delegate for the 'Probability
' attribute.protected double
weight
The cached value of the 'Weight
' attribute.protected static double
WEIGHT_EDEFAULT
The 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 protected
CategoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationChain
basicSetProbabilityMassFunction(CategoricalProbabilityMassFunction newProbabilityMassFunction, NotificationChain msgs)
ValueType
determineValueType()
NotificationChain
eBasicRemoveFromContainerFeature(NotificationChain msgs)
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)
double
getProbability()
CategoricalProbabilityMassFunction
getProbabilityMassFunction()
double
getWeight()
void
setProbabilityMassFunction(CategoricalProbabilityMassFunction newProbabilityMassFunction)
void
setWeight(double newWeight)
String
toString()
-
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:
eStaticClass
in classManifestationContainerImpl
- Generated class or method.
-
getWeight
public double getWeight()
- Specified by:
getWeight
in 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:
setWeight
in interfaceCategory
- Parameters:
newWeight
- the new value of the 'Weight' attribute.- See Also:
Category.getWeight()
- Generated class or method.
-
getProbability
public double getProbability()
- Specified by:
getProbability
in interfaceCategory
- Returns:
- the value of the 'Probability' attribute.
- See Also:
ManifestationPackage.getCategory_Probability()
- Generated class or method.
-
getProbabilityMassFunction
public CategoricalProbabilityMassFunction getProbabilityMassFunction()
- Specified by:
getProbabilityMassFunction
in 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:
setProbabilityMassFunction
in 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:
determineValueType
in interfaceCategory
- Specified by:
determineValueType
in interfaceManifestationContainer
- Overrides:
determineValueType
in classManifestationContainerImpl
- Generated class or method.
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseAdd
in classManifestationContainerImpl
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classManifestationContainerImpl
- Generated class or method.
-
eBasicRemoveFromContainerFeature
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
in classBasicEObjectImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classManifestationContainerImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classManifestationContainerImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classManifestationContainerImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classManifestationContainerImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classBasicEObjectImpl
- Generated class or method.
-
-