Enum ActionSelectionBehavior.Value
- java.lang.Object
-
- java.lang.Enum<ActionSelectionBehavior.Value>
-
- org.linuxforhealth.fhir.model.type.code.ActionSelectionBehavior.Value
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ActionSelectionBehavior.Value>
- Enclosing class:
- ActionSelectionBehavior
public static enum ActionSelectionBehavior.Value extends java.lang.Enum<ActionSelectionBehavior.Value>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
AllALL_OR_NONE
All Or NoneANY
AnyAT_MOST_ONE
At Most OneEXACTLY_ONE
Exactly OneONE_OR_MORE
One Or More
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionSelectionBehavior.Value
from(java.lang.String value)
Factory method for creating ActionSelectionBehavior.Value values from a passed string value.java.lang.String
value()
static ActionSelectionBehavior.Value
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActionSelectionBehavior.Value[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final ActionSelectionBehavior.Value ANY
AnyAny number of the actions in the group may be chosen, from zero to all.
-
ALL
public static final ActionSelectionBehavior.Value ALL
AllAll the actions in the group must be selected as a single unit.
-
ALL_OR_NONE
public static final ActionSelectionBehavior.Value ALL_OR_NONE
All Or NoneAll 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 OneThe 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 OneThe 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 MoreThe 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 namejava.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
-
-