- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<BarcodeIndicators>
,Constable
Enum
that corresponds to ONIX Codelist 141
Description: Barcode indicator
-
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 ConstantDescriptionBarcode uses 13-digit EAN symbology (version NR without 5-digit extension).EAN symbology (two-digit extension, normally indicating periodical issue number)EAN symbology (version NK, first digit of 5-digit extension is 6)EAN symbology (version NF, 5-digit extension is 90000-98999 for proprietary use - extension does not indicate a price)EAN symbology (version NK, price currency by local agreement)EAN symbology (version NK, first digit of 5-digit extension is 0)EAN symbology (version NK, first digit of 5-digit extension is 1-5)AKA item/priceAKA price/itemAKA item/priceAKA price/item -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeIndicators
static Optional<BarcodeIndicators>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static BarcodeIndicators
Returns the enum constant of this class with the specified name.static BarcodeIndicators[]
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
-
Not_barcoded
-
Barcoded_scheme_unspecified
-
GTIN_13
Barcode uses 13-digit EAN symbology (version NR without 5-digit extension). See (eg) https://bic.org.uk/wp-content/uploads/2022/11/2019.05.31-Bar-Coding-for-Books-rev-09.pdf or https://www.bisg.org/barcoding-guidelines-for-the-us-book-industry -
GTIN_13_5_US_dollar_price_encoded
EAN symbology (version NK, first digit of 5-digit extension is 1-5) -
GTIN_13_5_CAN_dollar_price_encoded
EAN symbology (version NK, first digit of 5-digit extension is 6) -
GTIN_13_5_no_price_encoded
EAN symbology (version NF, 5-digit extension is 90000-98999 for proprietary use - extension does not indicate a price) -
UPC_12_item_specific
AKA item/price -
UPC_12_5_item_specific
AKA item/price -
UPC_12_price_point
AKA price/item -
UPC_12_5_price_point
AKA price/item -
GTIN_13_5_UK_Pound_Sterling_price_encoded
EAN symbology (version NK, first digit of 5-digit extension is 0)Jonix-Comment: Introduced in Onix3
-
GTIN_13_5_other_price_encoded
EAN symbology (version NK, price currency by local agreement)Jonix-Comment: Introduced in Onix3
-
GTIN_13_2
EAN symbology (two-digit extension, normally indicating periodical issue number)Jonix-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
-