Package org.hl7.fhir.r5.model
Enum AuditEvent.AuditEventSeverity
- java.lang.Object
-
- java.lang.Enum<AuditEvent.AuditEventSeverity>
-
- org.hl7.fhir.r5.model.AuditEvent.AuditEventSeverity
-
- All Implemented Interfaces:
Serializable,Comparable<AuditEvent.AuditEventSeverity>
- Enclosing class:
- AuditEvent
public static enum AuditEvent.AuditEventSeverity extends Enum<AuditEvent.AuditEventSeverity>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERTAction must be taken immediately.CRITICALCritical conditions.DEBUGDebug-level messages.EMERGENCYSystem is unusable.ERRORError conditions.INFORMATIONALInformational messages.NOTICENormal but significant condition.NULLadded to help the parsers with the generic typesWARNINGWarning conditions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuditEvent.AuditEventSeverityfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static AuditEvent.AuditEventSeverityvalueOf(String name)Returns the enum constant of this type with the specified name.static AuditEvent.AuditEventSeverity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMERGENCY
public static final AuditEvent.AuditEventSeverity EMERGENCY
System is unusable.
-
ALERT
public static final AuditEvent.AuditEventSeverity ALERT
Action must be taken immediately.
-
CRITICAL
public static final AuditEvent.AuditEventSeverity CRITICAL
Critical conditions.
-
ERROR
public static final AuditEvent.AuditEventSeverity ERROR
Error conditions.
-
WARNING
public static final AuditEvent.AuditEventSeverity WARNING
Warning conditions.
-
NOTICE
public static final AuditEvent.AuditEventSeverity NOTICE
Normal but significant condition.
-
INFORMATIONAL
public static final AuditEvent.AuditEventSeverity INFORMATIONAL
Informational messages.
-
DEBUG
public static final AuditEvent.AuditEventSeverity DEBUG
Debug-level messages.
-
NULL
public static final AuditEvent.AuditEventSeverity NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static AuditEvent.AuditEventSeverity[] 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 (AuditEvent.AuditEventSeverity c : AuditEvent.AuditEventSeverity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditEvent.AuditEventSeverity 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 AuditEvent.AuditEventSeverity fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-