Class IssueSeverity

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class IssueSeverity
    extends Code
    • Field Detail

      • FATAL

        public static final IssueSeverity FATAL
        Fatal

        The issue caused the action to fail and no further checking could be performed.

      • ERROR

        public static final IssueSeverity ERROR
        Error

        The issue is sufficiently important to cause the action to fail.

      • WARNING

        public static final IssueSeverity WARNING
        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 IssueSeverity INFORMATION
        Information

        The issue has no relation to the degree of success of the action.

    • Method Detail

      • of

        public static IssueSeverity of​(String value)
        Factory method for creating IssueSeverity objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating IssueSeverity objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating IssueSeverity objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code