Interface DiscreteRangeChoice
- All Known Implementing Classes:
DiscreteRangeChoiceImpl
A representation of the model object '
Discrete Range Choice'.
The DiscreteRangeChoice represents a choice for a DegreeOfFreedom with an integer range.
TODO constraint: The degreeOfFreedom of this Choice must be an DiscreteRangeDegree
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of the 'Chosen Value' attribute.voidsetChosenValue(int value) Sets the value of the 'Chosen Value' attribute.Methods inherited from interface de.uka.ipd.sdq.pcm.designdecision.Choice
getDegreeOfFreedomInstance, getValue, isActive, setDegreeOfFreedomInstance, setIsActive, setValueMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getChosenValue
int getChosenValue()Returns the value of the 'Chosen Value' attribute. The value chosen from the DegreeOfFreedom. TODO: constraint: chosenValue must be within the defined range.- Returns:
- the value of the 'Chosen Value' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setChosenValue
void setChosenValue(int value) Sets the value of the 'Chosen Value' attribute.- Parameters:
value- the new value of the 'Chosen Value' attribute.- See Also:
- Generated class or method.
-