Module jonix.common

Enum Class AvItemIdentifierTypes

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

public enum AvItemIdentifierTypes extends Enum<AvItemIdentifierTypes> implements OnixCodelist
Enum that corresponds to ONIX Codelist 241

Description: AV Item Identifier type

Jonix-Comment: Introduced in Onix3

See Also:
  • Enum Constant Details

    • Proprietary

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

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

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

      public static final AvItemIdentifierTypes IMDB
      Motion picture work identifier from the International Movie Database
    • ISRC

      public static final AvItemIdentifierTypes ISRC
      International Standard Recording Code, 5 alphanumeric characters plus 7 digits
    • ISAN

      public static final AvItemIdentifierTypes ISAN
      International Standard Audiovisual Number (17 or 26 characters - 16 or 24 hexadecimal digits, plus one or two alphanumeric check characters, and without spaces or hyphens)
    • EIDR_DOI

      public static final AvItemIdentifierTypes EIDR_DOI
      Entertainment Identifier Registry DOI
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

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

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

      public static String codeToDesciption(String code)