Enum SelectionBehavior

    • Enum Constant Detail

      • ANY

        public static final SelectionBehavior ANY
        Any number of the items in the group may be chosen, from zero to all
      • ALL

        public static final SelectionBehavior ALL
        All the items in the group must be selected as a single unit
      • ALLORNONE

        public static final SelectionBehavior ALLORNONE
        All the items 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
      • EXACTLYONE

        public static final SelectionBehavior EXACTLYONE
        The end user must choose one and only one of the selectable items in the group. The user may not choose none of the items in the group
      • ATMOSTONE

        public static final SelectionBehavior ATMOSTONE
        The end user may choose zero or at most one of the items in the group
      • ONEORMORE

        public static final SelectionBehavior ONEORMORE
        The end user must choose a minimum of one, and as many additional as desired
    • Method Detail

      • values

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

        public static SelectionBehavior 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
      • fromCode

        public static SelectionBehavior fromCode​(String codeString)
                                          throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException