Module jonix.common
Enum Class EpublicationVersionNumbers
java.lang.Object
java.lang.Enum<EpublicationVersionNumbers>
com.tectonica.jonix.common.codelist.EpublicationVersionNumbers
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<EpublicationVersionNumbers>
,Constable
public enum EpublicationVersionNumbers
extends Enum<EpublicationVersionNumbers>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 220
Description: E-publication version number
-
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 ConstantDescriptionUse only with <ProductFormDetail> codes E101 or E102Use only with <ProductFormDetail> code E101Use only with <ProductFormDetail> code E101Use only with <ProductFormDetail> code E101Use only with <ProductFormDetail> code E101Use only with <ProductFormDetail> code E101Use only with <ProductFormDetail> code E116Use only with <ProductFormDetail> code E116Use only with <ProductFormDetail> codes E116 or E127 -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EpublicationVersionNumbers
static Optional<EpublicationVersionNumbers>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static EpublicationVersionNumbers
Returns the enum constant of this class with the specified name.static EpublicationVersionNumbers[]
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
-
EPUB_2_0_1
Use only with <ProductFormDetail> codes E101 or E102 -
EPUB_3_0
Use only with <ProductFormDetail> code E101 -
EPUB_3_0_1
Use only with <ProductFormDetail> code E101 -
EPUB_3_1
Use only with <ProductFormDetail> code E101 -
EPUB_3_2
Use only with <ProductFormDetail> code E101Jonix-Comment: Introduced in Onix3
-
EPUB_3_3
Use only with <ProductFormDetail> code E101Jonix-Comment: Introduced in Onix3
-
Kindle_mobi_7
Use only with <ProductFormDetail> codes E116 or E127 -
Kindle_KF8
Use only with <ProductFormDetail> code E116 -
Kindle_KFX
Use only with <ProductFormDetail> code E116Jonix-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
-