
Package ca.uhn.fhir.validation
Enum ResultSeverityEnum
- java.lang.Object
-
- java.lang.Enum<ResultSeverityEnum>
-
- ca.uhn.fhir.validation.ResultSeverityEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<ResultSeverityEnum>
public enum ResultSeverityEnum extends Enum<ResultSeverityEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
The issue is sufficiently important to cause the action to failFATAL
The issue caused the action to fail, and no further checking could be performedINFORMATION
The issue has no relation to the degree of success of the actionWARNING
The 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
-
Field Summary
Fields Modifier and Type Field Description static ResultSeverityEnum[]
values
Convert from Enum ordinal to Enum type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResultSeverityEnum
fromCode(String theCode)
String
getCode()
static ResultSeverityEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResultSeverityEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFORMATION
public static final ResultSeverityEnum INFORMATION
The issue has no relation to the degree of success of the action
-
WARNING
public static final ResultSeverityEnum WARNING
The 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
-
ERROR
public static final ResultSeverityEnum ERROR
The issue is sufficiently important to cause the action to fail
-
FATAL
public static final ResultSeverityEnum FATAL
The issue caused the action to fail, and no further checking could be performed
-
-
Field Detail
-
values
public static final ResultSeverityEnum[] values
Convert from Enum ordinal to Enum type. Usage:ResultSeverityEnum resultSeverityEnum = ResultSeverityEnum.values[ordinal];
-
-
Method Detail
-
values
public static ResultSeverityEnum[] 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 (ResultSeverityEnum c : ResultSeverityEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultSeverityEnum 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 ResultSeverityEnum fromCode(String theCode)
-
-