Enum ResultSeverityEnum

java.lang.Object
java.lang.Enum<ResultSeverityEnum>
ca.uhn.fhir.validation.ResultSeverityEnum
All Implemented Interfaces:
Serializable, Comparable<ResultSeverityEnum>

  • Enum Constant Details

    • 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 Details

    • values

      public static final ResultSeverityEnum[] values
      Convert from Enum ordinal to Enum type. Usage: ResultSeverityEnum resultSeverityEnum = ResultSeverityEnum.values[ordinal];
  • Method Details

    • values

      public static ResultSeverityEnum[] 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

      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 name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
    • fromCode

      public static ResultSeverityEnum fromCode(String theCode)