Module jonix.common

Enum Class SupplyDateRoles

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

public enum SupplyDateRoles extends Enum<SupplyDateRoles> implements OnixCodelist
Enum that corresponds to ONIX Codelist 166

Description: Supply date role

See Also:
  • Enum Constant Details

    • Sales_embargo_date

      public static final SupplyDateRoles Sales_embargo_date
      If there is an embargo on retail sales (of copies from the supplier) before a certain date and this is later than any general or market-wide embargo date, the date from which the embargo is lifted and retail sales and fulfillment of pre-orders are permitted. Use code 02 here ONLY in the exceptional case when the embargo is supplier-specific. More general market-wide or global sales embargos should be specified in <MarketDate> or <PublishingDate> codes. In the absence of any supplier-specific, market-wide or general embargo date, retail sales and pre-order fulfillment may begin as soon as stock is available to the retailer
    • Expected_availability_date

      public static final SupplyDateRoles Expected_availability_date
      The date on which physical stock is expected to be available to be shipped from the supplier to retailers, or a digital product is expected to be released by the publisher or digital asset distributor to retailers or their retail platform providers
    • Last_date_for_returns

      public static final SupplyDateRoles Last_date_for_returns
      Last date when returns will be accepted, generally for a product which is being remaindered or put out of print
    • Reservation_order_deadline

      public static final SupplyDateRoles Reservation_order_deadline
      Latest date on which an order may be placed for guaranteed delivery prior to the publication date. May or may not be linked to a special reservation or pre-publication price
    • Last_redownload_date

      public static final SupplyDateRoles Last_redownload_date
      Latest date on which existing owners or licensees may download or re-download a copy of the product. Existing users may continue to use their local copy of the product

      Jonix-Comment: Introduced in Onix3

    • Last_TPM_date

      public static final SupplyDateRoles Last_TPM_date
      Date on which any required technical protection measures (DRM) support will be withdrawn. DRM-protected products may not be usable after this date

      Jonix-Comment: Introduced in Onix3

    • Expected_warehouse_date

      public static final SupplyDateRoles Expected_warehouse_date
      The date on which physical stock is expected to be delivered to the supplier from the manufacturer or from a primary distributor. For the distributor or wholesaler (the supplier) this is the 'goods in' date, as contrasted with the Expected availability date, code 08, which is the 'goods out' date

      Jonix-Comment: Introduced in Onix3

    • New_supplier_start_date

      public static final SupplyDateRoles New_supplier_start_date
      First date on which the supplier specified in <NewSupplier> will accept orders. Note the first date would typically be the day after the old supplier end date, but they may overlap if there is an agreement to forward any orders between old and new supplier for fulfillment
    • Supplier_end_date

      public static final SupplyDateRoles Supplier_end_date
      Last date on which the supplier specified in <Supplier> will accept orders. New supplier should be specified where available. Note last date would typically be the day before the new supplier start date, but they may overlap if there is an agreement to forward any orders between old and new supplier for fulfillment
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)