Enum ActionSelectionBehavior.Value

    • Enum Constant Detail

      • ALL_OR_NONE

        public static final ActionSelectionBehavior.Value ALL_OR_NONE
        All Or None

        All the actions in the group are meant to be chosen as a single unit: either all must be selected by the end user, or none may be selected.

      • EXACTLY_ONE

        public static final ActionSelectionBehavior.Value EXACTLY_ONE
        Exactly One

        The end user must choose one and only one of the selectable actions in the group. The user SHALL NOT choose none of the actions in the group.

      • AT_MOST_ONE

        public static final ActionSelectionBehavior.Value AT_MOST_ONE
        At Most One

        The end user may choose zero or at most one of the actions in the group.

      • ONE_OR_MORE

        public static final ActionSelectionBehavior.Value ONE_OR_MORE
        One Or More

        The end user must choose a minimum of one, and as many additional as desired.

    • Method Detail

      • values

        public static ActionSelectionBehavior.Value[] 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 (ActionSelectionBehavior.Value c : ActionSelectionBehavior.Value.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ActionSelectionBehavior.Value valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public java.lang.String value()
        Returns:
        The java.lang.String value of the code represented by this enum
      • from

        public static ActionSelectionBehavior.Value from​(java.lang.String value)
        Factory method for creating ActionSelectionBehavior.Value values from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Returns:
        The corresponding ActionSelectionBehavior.Value or null if a null value was passed
        Throws:
        java.lang.IllegalArgumentException - If the passed string is not null and cannot be parsed into an allowed code value