Package ca.uhn.fhir.model.dstu2.valueset
Enum IssueSeverityEnum
- java.lang.Object
-
- java.lang.Enum<IssueSeverityEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum
-
- All Implemented Interfaces:
Serializable,Comparable<IssueSeverityEnum>
public enum IssueSeverityEnum extends Enum<IssueSeverityEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORDisplay: Error
Code Value: error The issue is sufficiently important to cause the action to fail.FATALDisplay: Fatal
Code Value: fatal The issue caused the action to fail, and no further checking could be performed.INFORMATIONDisplay: Information
Code Value: information The issue has no relation to the degree of success of the action.WARNINGDisplay: Warning
Code Value: 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.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<IssueSeverityEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: IssueSeverity
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IssueSeverityEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic IssueSeverityEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static IssueSeverityEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FATAL
public static final IssueSeverityEnum FATAL
Display: Fatal
Code Value: fatal The issue caused the action to fail, and no further checking could be performed.
-
ERROR
public static final IssueSeverityEnum ERROR
Display: Error
Code Value: error The issue is sufficiently important to cause the action to fail.
-
WARNING
public static final IssueSeverityEnum WARNING
Display: Warning
Code Value: 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
public static final IssueSeverityEnum INFORMATION
Display: Information
Code Value: information The issue has no relation to the degree of success of the action.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: IssueSeverity- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<IssueSeverityEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static IssueSeverityEnum[] 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 (IssueSeverityEnum c : IssueSeverityEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IssueSeverityEnum 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
-
forCode
public static IssueSeverityEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-