Interface DiscreteRangeChoice

  • All Superinterfaces:
    Choice, EObject, Notifier
    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 DiscreteRangeDegree

    The following features are supported:

    See Also:
    designdecisionPackage.getDiscreteRangeChoice()
    Generated class or method.
    EMF model class or method.
    • 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.