Enum ResponseTypeEnum

    • Enum Constant Detail

      • OK

        public static final ResponseTypeEnum OK
        Display: OK
        Code Value: ok The message was accepted and processed without error.
      • TRANSIENT_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.
      • FATAL_ERROR

        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.
    • Method Detail

      • values

        public static ResponseTypeEnum[] 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 (ResponseTypeEnum c : ResponseTypeEnum.values())
            System.out.println(c);
        
        Returns:
        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.)
        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()
        Returns the code associated with this enumerated value
      • getSystem

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