Module jonix.common

Enum Class StatusDetailTypeSeveritys

java.lang.Object
java.lang.Enum<StatusDetailTypeSeveritys>
com.tectonica.jonix.common.codelist.StatusDetailTypeSeveritys
All Implemented Interfaces:
OnixCodelist, Serializable, Comparable<StatusDetailTypeSeveritys>, Constable

public enum StatusDetailTypeSeveritys extends Enum<StatusDetailTypeSeveritys> implements OnixCodelist
Enum that corresponds to ONIX Codelist 224

Description: Status detail type severity

See Also:
  • Enum Constant Details

    • Unclassifiable

      public static final StatusDetailTypeSeveritys Unclassifiable
      Use ONLY if the message severity cannot be determined (eg with a legacy system unable to provide detailed error codes)
    • Info

      public static final StatusDetailTypeSeveritys Info
      For information only, provided to encourage the ONIX data supplier to improve the quality of their data (eg provision of a non-mandatory data element that is currently missing, better conformity with best practice, etc)
    • Query

      public static final StatusDetailTypeSeveritys Query
      Request for clarification or further detail of the meaning of the data provided
    • Warning

      public static final StatusDetailTypeSeveritys Warning
      The ONIX data has been accepted as provided, but there may be issues in the way it is supplied
    • Error

      public static final StatusDetailTypeSeveritys Error
      Some data in an ONIX data element or message structure caused an error due to not meeting the requirements of the standard. The data in question has been rejected, but processing of the remaining elements in the record (or the remain records in the message, if used within <MessageStatusDetail>) has continued
    • Fatal_error

      public static final StatusDetailTypeSeveritys Fatal_error
      Some data in an ONIX data element or message structure caused an unrecoverable error due to not meeting the requirements of the standard. The entire ONIX record has been rejected (or the entire message, if used within <MessageStatusDetail>)
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

      public static StatusDetailTypeSeveritys valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static StatusDetailTypeSeveritys byCode(String code)
    • byCodeOptional

      public static Optional<StatusDetailTypeSeveritys> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)