Package com.ibm.fhir.model.type.code
Enum ActionSelectionBehavior.ValueSet
- java.lang.Object
-
- java.lang.Enum<ActionSelectionBehavior.ValueSet>
-
- com.ibm.fhir.model.type.code.ActionSelectionBehavior.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<ActionSelectionBehavior.ValueSet>
- Enclosing class:
- ActionSelectionBehavior
public static enum ActionSelectionBehavior.ValueSet extends Enum<ActionSelectionBehavior.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLAllALL_OR_NONEAll Or NoneANYAnyAT_MOST_ONEAt Most OneEXACTLY_ONEExactly OneONE_OR_MOREOne Or More
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionSelectionBehavior.ValueSetfrom(String value)Factory method for creating ActionSelectionBehavior.ValueSet values from a passed string value.Stringvalue()static ActionSelectionBehavior.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static ActionSelectionBehavior.ValueSet[]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.ValueSet ANY
AnyAny number of the actions in the group may be chosen, from zero to all.
-
ALL
public static final ActionSelectionBehavior.ValueSet ALL
AllAll the actions in the group must be selected as a single unit.
-
ALL_OR_NONE
public static final ActionSelectionBehavior.ValueSet 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.ValueSet 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.ValueSet 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.ValueSet 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.ValueSet[] 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.ValueSet c : ActionSelectionBehavior.ValueSet.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.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static ActionSelectionBehavior.ValueSet from(String value)
Factory method for creating ActionSelectionBehavior.ValueSet values 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
-
-