Class CCVariablePart.Choice

    • Field Detail

      • _INTEGER

        public static final int _INTEGER
        Integer value of the choice INTEGER.
        See Also:
        Constant Field Values
      • _NUMBER

        public static final int _NUMBER
        Integer value of the choice NUMBER.
        See Also:
        Constant Field Values
      • _PRICE

        public static final int _PRICE
        Integer value of the choice PRICE.
        See Also:
        Constant Field Values
      • MIN_VALUE

        public static final int MIN_VALUE
        Minimum value that a com.opencloud.slee.resources.cgin.callcontrol.CCVariablePart.Choice instance may take (548864).
        See Also:
        Constant Field Values
      • MAX_VALUE

        public static final int MAX_VALUE
        Maximum value that a com.opencloud.slee.resources.cgin.callcontrol.CCVariablePart.Choice instance may take (548868).
        See Also:
        Constant Field Values
    • Constructor Detail

      • Choice

        protected Choice​(int value,
                         String description)
        Constructs a number, noting its name.
        Parameters:
        value - numeric value
        description - name of number
    • Method Detail

      • fromValue

        public static CCVariablePart.Choice fromValue​(int value)
        Finds or constructs an integer for the given numeric value.
        Parameters:
        value - numeric value
        Returns:
        one of the fields if suitable, else a newly constructed object
      • namedValues

        public static CCVariablePart.Choice[] namedValues()
        Returns an array containing all the numeric values that distinguish choices.
        Returns:
        array of integers