Class AuditEventOutcome

  • All Implemented Interfaces:
    Visitable

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

      • OUTCOME_0

        public static final AuditEventOutcome OUTCOME_0
        Success

        The operation completed successfully (whether with warnings or not).

      • OUTCOME_4

        public static final AuditEventOutcome OUTCOME_4
        Minor failure

        The action was not successful due to some kind of minor failure (often equivalent to an HTTP 400 response).

      • OUTCOME_8

        public static final AuditEventOutcome OUTCOME_8
        Serious failure

        The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response).

      • OUTCOME_12

        public static final AuditEventOutcome OUTCOME_12
        Major failure

        An error of such magnitude occurred that the system is no longer available for use (i.e. the system died).

    • Method Detail

      • of

        public static AuditEventOutcome of​(String value)
        Factory method for creating AuditEventOutcome 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 AuditEventOutcome 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 AuditEventOutcome 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