Module jonix.common

Enum Class CollectionIdentifierTypes

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

public enum CollectionIdentifierTypes extends Enum<CollectionIdentifierTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 13

Description: Collection identifier type

See Also:
  • Enum Constant Details

    • Proprietary

      public static final CollectionIdentifierTypes Proprietary
      For example, publisher's own series ID. Note that <IDTypeName> is required with proprietary identifiers
    • ISSN

      public static final CollectionIdentifierTypes ISSN
      International Standard Serial Number, unhyphenated, 8 digits
    • German_National_Bibliography_series_ID

      public static final CollectionIdentifierTypes German_National_Bibliography_series_ID
      Maintained by the Deutsche Nationalbibliothek
    • German_Books_in_Print_series_ID

      public static final CollectionIdentifierTypes German_Books_in_Print_series_ID
      Maintained by VLB
    • Electre_series_ID

      public static final CollectionIdentifierTypes Electre_series_ID
      Maintained by Electre Information, France
    • DOI

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

      public static final CollectionIdentifierTypes ISBN_13
      Use only where the collection (series or set) is available as a single product
    • URN

      public static final CollectionIdentifierTypes URN
      Uniform Resource Name using full URN syntax, eg urn:issn:1476-4687 - though where a specific code for the identifier type is available, use of that code (ie code 02 for ISSN) is preferred
    • JP_Magazine_ID

      public static final CollectionIdentifierTypes JP_Magazine_ID
      Japanese magazine identifier, similar in scope to ISSN. Five digits to identify the periodical, without any hyphen or two digit extension. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

    • BNF_Control_number

      public static final CollectionIdentifierTypes BNF_Control_number
      French National Bibliography series ID. Identifiant des publications en série maintenu par la Bibliothèque Nationale de France
    • ARK

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

      public static final CollectionIdentifierTypes ISSN_L
      International Standard Serial Number 'linking ISSN', used when distinct from the serial ISSN. Unhyphenated, 8 digits. Only for use in ONIX 3.0 or later

      Jonix-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)