Class ActionSelectionBehavior

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class ActionSelectionBehavior
    extends Code
    • Field Detail

      • ANY

        public static final ActionSelectionBehavior ANY
        Any

        Any number of the actions in the group may be chosen, from zero to all.

      • ALL

        public static final ActionSelectionBehavior ALL
        All

        All the actions in the group must be selected as a single unit.

      • ALL_OR_NONE

        public static final ActionSelectionBehavior 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 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 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 ONE_OR_MORE
        One Or More

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

    • Method Detail

      • of

        public static ActionSelectionBehavior of​(String value)
        Factory method for creating ActionSelectionBehavior objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating ActionSelectionBehavior objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating ActionSelectionBehavior objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code