Package com.ibm.fhir.model.type.code
Enum IssueSeverity.ValueSet
- java.lang.Object
-
- java.lang.Enum<IssueSeverity.ValueSet>
-
- com.ibm.fhir.model.type.code.IssueSeverity.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<IssueSeverity.ValueSet>
- Enclosing class:
- IssueSeverity
public static enum IssueSeverity.ValueSet extends Enum<IssueSeverity.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORErrorFATALFatalINFORMATIONInformationWARNINGWarning
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IssueSeverity.ValueSetfrom(String value)Factory method for creating IssueSeverity.ValueSet values from a passed string value.Stringvalue()static IssueSeverity.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static IssueSeverity.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FATAL
public static final IssueSeverity.ValueSet FATAL
FatalThe issue caused the action to fail and no further checking could be performed.
-
ERROR
public static final IssueSeverity.ValueSet ERROR
ErrorThe issue is sufficiently important to cause the action to fail.
-
WARNING
public static final IssueSeverity.ValueSet WARNING
WarningThe issue is not important enough to cause the action to fail but may cause it to be performed suboptimally or in a way that is not as desired.
-
INFORMATION
public static final IssueSeverity.ValueSet INFORMATION
InformationThe issue has no relation to the degree of success of the action.
-
-
Method Detail
-
values
public static IssueSeverity.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 (IssueSeverity.ValueSet c : IssueSeverity.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 IssueSeverity.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 IssueSeverity.ValueSet from(String value)
Factory method for creating IssueSeverity.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
-
-