Module jonix.common

Enum Class TextItemIdentifierTypes

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

public enum TextItemIdentifierTypes extends Enum<TextItemIdentifierTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 43

Description: Text item identifier type

See Also:
  • Enum Constant Details

    • Proprietary

      public static final TextItemIdentifierTypes Proprietary
      For example, a publisher's own identifier. Note that <IDTypeName> is required with proprietary identifiers
    • GTIN_13

      public static final TextItemIdentifierTypes GTIN_13
      Formerly known as the EAN-13 (unhyphenated)
    • DOI

      public static final TextItemIdentifierTypes DOI
    • PII

      public static final TextItemIdentifierTypes PII
      Publisher item identifier
    • SICI

      public static final TextItemIdentifierTypes SICI
      For serial items only
    • ISTC

      public static final TextItemIdentifierTypes ISTC
    • ISBN_13

      public static final TextItemIdentifierTypes ISBN_13
      (Unhyphenated)
    • ISCC

      public static final TextItemIdentifierTypes 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-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)