Interface DiscreteRangeChoice
-
- All Known Implementing Classes:
DiscreteRangeChoiceImpl
public interface DiscreteRangeChoice extends Choice
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 DiscreteRangeDegreeThe following features are supported:
- See Also:
designdecisionPackage.getDiscreteRangeChoice()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getChosenValue()
Returns the value of the 'Chosen Value' attribute.void
setChosenValue​(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, setValue
-
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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
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:
setChosenValue(int)
,designdecisionPackage.getDiscreteRangeChoice_ChosenValue()
- 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:
getChosenValue()
- Generated class or method.
-
-