java.lang.Object
com.tectonica.jonix.onix3.BarcodeType
- All Implemented Interfaces:
OnixElement<BarcodeIndicators>
,OnixTag
,Serializable
Barcode type
An ONIX code indicating whether, and in what form, a barcode is carried on a product. Mandatory in any instance of the <Barcode> composite, and non-repeating.
Format | Fixed length, two digits |
Codelist | List 141 |
Reference name | <BarcodeType> |
Short tag | <x312> |
Cardinality | 1 |
Example | <x312>03</x312> (GTIN-13+5 - US dollar price encoded) |
- <
Barcode
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final BarcodeType
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<BarcodeType> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
-
EMPTY
-
-
Constructor Details
-
BarcodeType
public BarcodeType() -
BarcodeType
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<BarcodeIndicators>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-