Interface Category
-
- All Superinterfaces:
EObject,ManifestationContainer,Notifier
- All Known Implementing Classes:
CategoryImpl
public interface Category extends ManifestationContainer
A representation of the model object 'Category'.The following features are supported:
- See Also:
ManifestationPackage.getCategory()- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueTypedetermineValueType()doublegetProbability()Returns the value of the 'Probability' attribute.CategoricalProbabilityMassFunctiongetProbabilityMassFunction()Returns the value of the 'Probability Mass Function' container reference.doublegetWeight()Returns the value of the 'Weight' attribute.voidsetProbabilityMassFunction(CategoricalProbabilityMassFunction value)Sets the value of the 'Probability Mass Function' container reference.voidsetWeight(double value)Sets the value of the 'Weight' attribute.-
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 tools.mdsd.characteristics.binding.ManifestationContainer
getManifestation, getValuetype, setManifestation
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getWeight
double getWeight()
Returns the value of the 'Weight' attribute.- Returns:
- the value of the 'Weight' attribute.
- See Also:
setWeight(double),ManifestationPackage.getCategory_Weight()- Generated class or method.
- EMF model class or method.
- required="true"
-
setWeight
void setWeight(double value)
Sets the value of the 'Weight' attribute.- Parameters:
value- the new value of the 'Weight' attribute.- See Also:
getWeight()- Generated class or method.
-
getProbability
double getProbability()
Returns the value of the 'Probability' attribute.- Returns:
- the value of the 'Probability' attribute.
- See Also:
ManifestationPackage.getCategory_Probability()- Generated class or method.
- EMF model class or method.
- required="true" transient="true" changeable="false" derived="true" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot derivation='self.weight / self.probabilityMassFunction.sumOfCategoryWeights'"
-
getProbabilityMassFunction
CategoricalProbabilityMassFunction getProbabilityMassFunction()
Returns the value of the 'Probability Mass Function' container reference. It is bidirectional and its opposite is 'Categories'.- Returns:
- the value of the 'Probability Mass Function' container reference.
- See Also:
setProbabilityMassFunction(CategoricalProbabilityMassFunction),ManifestationPackage.getCategory_ProbabilityMassFunction(),CategoricalProbabilityMassFunction.getCategories()- Generated class or method.
- EMF model class or method.
- opposite="categories" transient="false"
-
setProbabilityMassFunction
void setProbabilityMassFunction(CategoricalProbabilityMassFunction value)
Sets the value of the 'Probability Mass Function' container reference.- Parameters:
value- the new value of the 'Probability Mass Function' container reference.- See Also:
getProbabilityMassFunction()- Generated class or method.
-
determineValueType
ValueType determineValueType()
- Specified by:
determineValueTypein interfaceManifestationContainer- Generated class or method.
- EMF model class or method.
- required="true" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='self.probabilityMassFunction.container.valuetype'"
-
-