Module jonix.common

Enum Class RecordStatuss

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

public enum RecordStatuss extends Enum<RecordStatuss> implements OnixCodelist
Enum that corresponds to ONIX Codelist 226

Description: Record status

See Also:
  • Enum Constant Details

    • No_record_errors

      public static final RecordStatuss No_record_errors
      Entire record parsed and ingested without errors, record may have a Product record in the Acknowledgement which itself may have a <RecordStatusNote> or <RecordStatusDetail> to convey information, editorial queries or warnings
    • No_record_errors_errors_in_collateral

      public static final RecordStatuss No_record_errors_errors_in_collateral
      Entire record parsed and ingested without errors, record MUST have a Product record in the Acknowledgement with a <RecordStatusNote> or at least one <RecordStatusDetail> to convey errors in associated media files (and possibly supplementary editorial queries)
    • Record_with_errors

      public static final RecordStatuss Record_with_errors
      Record parsed and ingested with errors, record MUST have a Product record in the Acknowledgement with a <RecordStatusNote> or at least one <RecordStatusDetail> to convey errors (and possibly supplementary information, editorial queries or warnings). At least SOME of the data in the original Product record has been ingested. There may also be errors in associated media files
    • Record_rejected

      public static final RecordStatuss Record_rejected
      Entire record rejected, record MUST have a Product record in the Acknowedgemet, with a <RecordStatusNote> or at least one <RecordStatusDetail> to convey errors (and possibly supplementary information, editorial queries or warnings). NONE of the data in the original Product record has been ingested
    • Reported_previously

      public static final RecordStatuss Reported_previously
      Record status reported in an earlier Acknowledgement message, based on partial processing of ONIX message. The record MUST NOT have a Product record in this Acknowledgement. Code not valid in <RecordStatusDetail>
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static RecordStatuss[] 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 RecordStatuss 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 RecordStatuss byCode(String code)
    • byCodeOptional

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

      public static String codeToDesciption(String code)