Package ca.uhn.fhir.context.support
Enum IValidationSupport.IssueSeverity
java.lang.Object
java.lang.Enum<IValidationSupport.IssueSeverity>
ca.uhn.fhir.context.support.IValidationSupport.IssueSeverity
- All Implemented Interfaces:
Serializable
,Comparable<IValidationSupport.IssueSeverity>
- Enclosing interface:
IValidationSupport
Defines codes in system http://hl7.org/fhir/issue-severity.
-
Enum Constant Summary
Enum ConstantDescriptionThe issue is sufficiently important to cause the action to fail.The issue caused the action to fail, and no further checking could be performed.The issue has no relation to the degree of success of the action.The operation was successful.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. -
Method Summary
Modifier and TypeMethodDescriptionCreates aIValidationSupport.IssueSeverity
object from the given code.getCode()
Provide mapping to a code in system http://hl7.org/fhir/issue-severity.Returns the enum constant of this type with the specified name.static IValidationSupport.IssueSeverity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FATAL
The issue caused the action to fail, and no further checking could be performed. -
ERROR
The issue is sufficiently important to cause the action to fail. -
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. -
INFORMATION
The issue has no relation to the degree of success of the action. -
SUCCESS
The operation was successful.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getCode
Provide mapping to a code in system http://hl7.org/fhir/issue-severity.- Returns:
- the code
-
fromCode
Creates aIValidationSupport.IssueSeverity
object from the given code.- Returns:
- the
IValidationSupport.IssueSeverity
-