- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<WorkIdentifierTypes>
,Constable
Enum
that corresponds to ONIX Codelist 16
Description: Work identifier type
-
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 ConstantDescriptionDigital Object Identifier (variable length and character set, beginning '10.' and without https://doi.org/ or the older http://dx.doi.org/)Global Library Manifestation Identifier, OCLC's 'manifestation cluster' ID10-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 CodeInternational Standard Text Code (16 characters: numerals and letters A-F, unhyphenated)OCLC Work IdentifierNote that <IDTypeName> is required with proprietary identifiers -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic WorkIdentifierTypes
static Optional<WorkIdentifierTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static WorkIdentifierTypes
Returns the enum constant of this class with the specified name.static WorkIdentifierTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.tectonica.jonix.common.OnixCodelist
pair
-
Enum Constant Details
-
Proprietary
Note that <IDTypeName> is required with proprietary identifiers -
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
Digital Object Identifier (variable length and character set, beginning '10.' and without https://doi.org/ or the older http://dx.doi.org/) -
ISTC
International Standard Text Code (16 characters: numerals and letters A-F, unhyphenated) -
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
International Standard Recording Code -
GLIMIR
Global Library Manifestation Identifier, OCLC's 'manifestation cluster' ID -
OWI
OCLC Work Identifier -
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 laterJonix-Comment: Introduced in Onix3
-
-
Field Details
-
code
-
description
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getCode
- Specified by:
getCode
in interfaceOnixCodelist
-
getDescription
- Specified by:
getDescription
in interfaceOnixCodelist
-
byCode
-
byCodeOptional
-
codeToDesciption
-