Enum ValueListOpenness

    • Enum Constant Detail

      • CLOSED

        public static final ValueListOpenness CLOSED
        Value list is closed. Only the values specified in the list are valid values. No other value could be specified.
      • OPEN

        public static final ValueListOpenness OPEN
        Value list is open. Other values that are not part of the list may be valid. Listed values should be considered a suggestions, list of popular or probable values, not a definitive list of all possible values.
    • Method Detail

      • values

        public static ValueListOpenness[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ValueListOpenness c : ValueListOpenness.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ValueListOpenness valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null