- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<ExtentUnits>
,Constable
Enum
that corresponds to ONIX Codelist 24
Description: Extent unit
-
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 ConstantDescriptionNumber of chapters (or other similar subdivisions) of the content.Approximate number of characters (including spaces) of natural language text.Of an audiobook on multiple Red Book audio CDs.Fill with leading zeroes if any elements are missingFill with leading zeroes if any elements are missingFill with leading zeroes if any elements are missing.Unbound sheets or leaves, where 'pages' is not appropriate.Of an audiobook on CD (or a similarly divided selection of audio files).Approximate number of words of natural language text -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtentUnits
static Optional<ExtentUnits>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static ExtentUnits
Returns the enum constant of this class with the specified name.static ExtentUnits[]
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
-
Physical_pieces
Unbound sheets or leaves, where 'pages' is not appropriate. For example a count of the individual number of cards in a pack. Only for use in ONIX 3.0 or later. For number of pieces in eg a jigsaw, kit, board game, see <ProductFormFeature> and code 22 from list 79Jonix-Comment: Introduced in Onix3
-
Characters
Approximate number of characters (including spaces) of natural language text. Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
Words
Approximate number of words of natural language text -
Pages
-
Hours_integer_and_decimals
-
Minutes_integer_and_decimals
-
Seconds_integer_only
-
Tracks
Of an audiobook on CD (or a similarly divided selection of audio files). Conventionally, each track is 3-6 minutes of running time, and track counts are misleading and inappropriate if the average track duration is significantly more or less than this. Note that track breaks are not necessarily aligned with structural breaks in the text (eg chapter breaks) -
Discs
Of an audiobook on multiple Red Book audio CDs. Conventionally, each disc is 60-70 minutes of running time, and disc counts are misleading and inappropriate if the average disc duration is significantly more or less than this (for example if the discs are Yellow Book CDs containing mp3 files). Note that disc breaks are not necessarily aligned with structural breaks in the text (eg chapter breaks). Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
Hours_HHH
Fill with leading zeroes if any elements are missing -
Hours_and_minutes_HHHMM
Fill with leading zeroes if any elements are missing -
Hours_minutes_seconds_HHHMMSS
Fill with leading zeroes if any elements are missing. If centisecond precision is required, use HHHMMSScc. Only for use in ONIX 3.0 or later -
Bytes
-
Kbytes
-
Mbytes
-
Chapters
Number of chapters (or other similar subdivisions) of the content. 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
-