Module jonix.common

Enum Class WorkIdentifierTypes

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

public enum WorkIdentifierTypes extends Enum<WorkIdentifierTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 16

Description: Work 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
    Digital Object Identifier (variable length and character set, beginning '10.' and without https://doi.org/ or the older http://dx.doi.org/)
    Entertainment Identifier Registry identifier for an audiovisual work, eg a movie, TV series (a DOI beginning '10.5240/' with a suffix of 21 hexadecimal digits and five hyphens, and without https://doi.org/ or the older http://dx.doi.org/).
    Global Library Manifestation Identifier, OCLC's 'manifestation cluster' ID
    10-character ISBN of manifestation of work, when this is the only work identifier available - now Deprecated in ONIX for Books, except where providing historical information for compatibility with legacy systems.
    13-character ISBN of a manifestation of work, when this is the only work identifier available (13 digits, without spaces or hyphens)
    International Standard Content Code, a 'similarity hash' derived algorithmically from the content itself (see https://iscc.codes).
    International Standard Recording Code
    International Standard Text Code (16 characters: numerals and letters A-F, unhyphenated)
    OCLC Work Identifier
    Note that <IDTypeName> is required with proprietary identifiers
  • 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 WorkIdentifierTypes Proprietary
      Note that <IDTypeName> is required with proprietary identifiers
    • ISBN_10

      public static final WorkIdentifierTypes ISBN_10
      10-character ISBN of manifestation of work, when this is the only work identifier available - 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 of the manifestation of the work)
    • DOI

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

      public static final WorkIdentifierTypes ISTC
      International Standard Text Code (16 characters: numerals and letters A-F, unhyphenated)
    • ISBN_13

      public static final WorkIdentifierTypes ISBN_13
      13-character ISBN of a manifestation of work, when this is the only work identifier available (13 digits, without spaces or hyphens)
    • ISRC

      public static final WorkIdentifierTypes ISRC
      International Standard Recording Code
    • EIDR_Content_ID

      public static final WorkIdentifierTypes EIDR_Content_ID
      Entertainment Identifier Registry identifier for an audiovisual work, eg a movie, TV series (a DOI beginning '10.5240/' with a suffix of 21 hexadecimal digits and five hyphens, and without https://doi.org/ or the older http://dx.doi.org/). See ui.eidr.org/search. Only for use in ONIX 3.0 or later

      JONIX adds: Not included in Onix2

    • GLIMIR

      public static final WorkIdentifierTypes GLIMIR
      Global Library Manifestation Identifier, OCLC's 'manifestation cluster' ID
    • OWI

      public static final WorkIdentifierTypes OWI
      OCLC Work Identifier
    • ISCC

      public static final WorkIdentifierTypes ISCC
      International Standard Content Code, a 'similarity hash' derived algorithmically from the content itself (see https://iscc.codes). <IDValue> is a sequence comprising the Meta-Code and Content-Code ISCC-UNITSs generated from a digital manifestation of the work, as a variable-length case-insensitive alphanumeric string (or 27 characters including one hyphen if using ISCC v1.0, but this is deprecated). Note alphabetic characters in v1.x ISCCs use Base32 encoding and are conventionally upper case. The 'ISCC:' prefix is omitted. Only for use in ONIX 3.0 or later

      JONIX adds: Not included in Onix2

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)