Enum ResponseTypeEnum

All Implemented Interfaces:
Serializable, Comparable<ResponseTypeEnum>

  • Enum Constant Details

    • OK

      public static final ResponseTypeEnum OK
      Display: OK
      Code Value: ok The message was accepted and processed without error.

      public static final ResponseTypeEnum TRANSIENT_ERROR
      Display: Transient Error
      Code Value: transient-error Some internal unexpected error occurred - wait and try again. Note - this is usually used for things like database unavailable, which may be expected to resolve, though human intervention may be required.

      public static final ResponseTypeEnum FATAL_ERROR
      Display: Fatal Error
      Code Value: fatal-error The message was rejected because of some content in it. There is no point in re-sending without change. The response narrative SHALL describe the issue.
  • Field Details

  • Method Details

    • values

      public static ResponseTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ResponseTypeEnum 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Returns the code associated with this enumerated value
    • getSystem

      public String getSystem()
      Returns the code system associated with this enumerated value
    • forCode

      public static ResponseTypeEnum forCode(String theCode)
      Returns the enumerated value associated with this code