Module jonix.common

Enum Class ProductIdentifierTypes

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

public enum ProductIdentifierTypes extends Enum<ProductIdentifierTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 5

Description: Product identifier type

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>

    Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCodelist

    OnixCodelist.Pair
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Archival Resource Key, as a URL (including the address of the ARK resolver provided by eg a national library)
    Numéro de la notice bibliographique BNF
    An ISBN-13 assigned by a co-publisher.
    Digital Object Identifier (variable length and character set, beginning '10.' and without https://doi.org/ or the older http://dx.doi.org/)
    GS1 Global Trade Item Number, formerly known as EAN article number (13 digits, without spaces or hyphens)
    GS1 Global Trade Item Number (14 digits, without spaces or hyphens)
    International Standard Book Number, pre-2007 (10 digits, or 9 digits plus X, without spaces or hyphens) - now Deprecated in ONIX for Books, except where providing historical information for compatibility with legacy systems.
    International Standard Book Number, from 2007 (13 digits starting 978 or 9791-9799, without spaces or hyphens)
    Actionable ISBN, in fact a special DOI incorporating the ISBN-13 within the DOI syntax.
    International Standard Music Number, pre-2008 (M plus nine digits, without spaces or hyphens) - now Deprecated in ONIX for Books, except where providing historical information for compatibility with legacy systems.
    International Standard Music Number, from 2008 (13-digit number starting 9790, without spaces or hyphens)
    E-publication identifier controlled by JPOIID's Committee for Research and Management of Electronic Publishing Codes
    Japanese magazine identifier, similar in scope to ISSN but identifying a specific issue of a serial publication.
    Library of Congress Control Number in normalized form (up to 12 characters, alphanumeric)
    The number assigned to a publication as part of a national legal deposit process
    A unique number assigned to a bibliographic item by OCLC
    Unique number assigned by the Chinese Online Library Cataloging Center (see http://olcc.nlc.gov.cn)
    For example, a publisher's or wholesaler's product number or SKU.
    UPC product number (12 digits, without spaces or hyphens)
    Used only with comic books and other products which use the UPC extension to identify individual issues or products.
    Uniform Resource Name: note that in trade applications an ISBN must be sent as a GTIN-13 and, where required, as an ISBN-13 - it should not be sent as a URN
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final String
     
    final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byCode(String code)
     
     
    static String
     
     
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.tectonica.jonix.common.OnixCodelist

    pair
  • Enum Constant Details

    • Proprietary

      public static final ProductIdentifierTypes Proprietary
      For example, a publisher's or wholesaler's product number or SKU. Note that <IDTypeName> is required with proprietary identifiers
    • ISBN_10

      public static final ProductIdentifierTypes ISBN_10
      International Standard Book Number, pre-2007 (10 digits, or 9 digits plus X, without spaces or hyphens) - now Deprecated in ONIX for Books, except where providing historical information for compatibility with legacy systems. It should only be used in relation to products published before 2007 - when ISBN-13 superseded it - and should never be used as the ONLY identifier (it should always be accompanied by the correct GTIN-13 / ISBN-13)
    • GTIN_13

      public static final ProductIdentifierTypes GTIN_13
      GS1 Global Trade Item Number, formerly known as EAN article number (13 digits, without spaces or hyphens)
    • UPC

      public static final ProductIdentifierTypes UPC
      UPC product number (12 digits, without spaces or hyphens)
    • ISMN_10

      public static final ProductIdentifierTypes ISMN_10
      International Standard Music Number, pre-2008 (M plus nine digits, without spaces or hyphens) - now Deprecated in ONIX for Books, except where providing historical information for compatibility with legacy systems. It should only be used in relation to products published before 2008 - when ISMN-13 superseded it - and should never be used as the ONLY identifier (it should always be accompanied by the correct GTIN-12 / ISMN-13)
    • DOI

      public static final ProductIdentifierTypes DOI
      Digital Object Identifier (variable length and character set, beginning '10.' and without https://doi.org/ or the older http://dx.doi.org/)
    • LCCN

      public static final ProductIdentifierTypes LCCN
      Library of Congress Control Number in normalized form (up to 12 characters, alphanumeric)
    • GTIN_14

      public static final ProductIdentifierTypes GTIN_14
      GS1 Global Trade Item Number (14 digits, without spaces or hyphens)
    • ISBN_13

      public static final ProductIdentifierTypes ISBN_13
      International Standard Book Number, from 2007 (13 digits starting 978 or 9791-9799, without spaces or hyphens)
    • URN

      public static final ProductIdentifierTypes URN
      Uniform Resource Name: note that in trade applications an ISBN must be sent as a GTIN-13 and, where required, as an ISBN-13 - it should not be sent as a URN
    • OCLC_number

      public static final ProductIdentifierTypes OCLC_number
      A unique number assigned to a bibliographic item by OCLC
    • Co_publishers_ISBN_13

      public static final ProductIdentifierTypes Co_publishers_ISBN_13
      An ISBN-13 assigned by a co-publisher. The 'main' ISBN sent with <ProductIDType> codes 03 and/or 15 should always be the ISBN that is used for ordering from the supplier identified in <SupplyDetail>. However, ISBN rules allow a co-published title to carry more than one ISBN. The co-publisher should be identified in an instance of the <Publisher> composite, with the applicable <PublishingRole> code
    • ISMN_13

      public static final ProductIdentifierTypes ISMN_13
      International Standard Music Number, from 2008 (13-digit number starting 9790, without spaces or hyphens)
    • ISBN_A

      public static final ProductIdentifierTypes ISBN_A
      Actionable ISBN, in fact a special DOI incorporating the ISBN-13 within the DOI syntax. Begins '10.978.' or '10.979.' and includes a / character between the registrant element (publisher prefix) and publication element of the ISBN, eg 10.978.000/1234567. Note the ISBN-A should always be accompanied by the ISBN itself, using <ProductIDType> codes 03 and/or 15
    • JP_e_code

      public static final ProductIdentifierTypes JP_e_code
      E-publication identifier controlled by JPOIID's Committee for Research and Management of Electronic Publishing Codes
    • OLCC_number

      public static final ProductIdentifierTypes OLCC_number
      Unique number assigned by the Chinese Online Library Cataloging Center (see http://olcc.nlc.gov.cn)
    • JP_Magazine_ID

      public static final ProductIdentifierTypes JP_Magazine_ID
      Japanese magazine identifier, similar in scope to ISSN but identifying a specific issue of a serial publication. Five digits to identify the periodical, plus a hyphen and two digits to identify the issue
    • UPC12_5

      public static final ProductIdentifierTypes UPC12_5
      Used only with comic books and other products which use the UPC extension to identify individual issues or products. Do not use where the UPC12 itself identifies the specific product, irrespective of any 5-digit extension - use code 04 instead
    • BNF_Control_number

      public static final ProductIdentifierTypes BNF_Control_number
      Numéro de la notice bibliographique BNF
    • ARK

      public static final ProductIdentifierTypes ARK
      Archival Resource Key, as a URL (including the address of the ARK resolver provided by eg a national library)
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)