Enum SelectionBehavior
- java.lang.Object
-
- java.lang.Enum<SelectionBehavior>
-
- org.hl7.fhir.dstu2016may.model.codesystems.SelectionBehavior
-
- All Implemented Interfaces:
Serializable,Comparable<SelectionBehavior>
public enum SelectionBehavior extends Enum<SelectionBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLAll the items in the group must be selected as a single unitALLORNONEAll 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 selectedANYAny number of the items in the group may be chosen, from zero to allATMOSTONEThe end user may choose zero or at most one of the items in the groupEXACTLYONEThe end user must choose one and only one of the selectable items in the group.NULLadded to help the parsersONEORMOREThe end user must choose a minimum of one, and as many additional as desired
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SelectionBehaviorfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static SelectionBehaviorvalueOf(String name)Returns the enum constant of this type with the specified name.static SelectionBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
NULL
public static final SelectionBehavior NULL
added to help the parsers
-
-
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 nameNullPointerException- if the argument is null
-
fromCode
public static SelectionBehavior fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-