java.lang.Object
com.tectonica.jonix.onix2.NumberOfPieces
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Number of pieces
If the product is homogeneous (ie all items or pieces which constitute the product have the same form), the number of items or pieces may be included here. If the product consists of a number of items or pieces of different forms (eg books and audio cassettes), the <ContainedItem> composite should be used – see below. This field is optional and non-repeating.
Format | Variable-length integer, suggested maximum length 4 digits. |
Reference name | <NumberOfPieces> |
Short tag | <b210> |
Example | <NumberOfPieces>3</NumberOfPieces> |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final NumberOfPieces
static final String
static final String
This is the raw content of NumberOfPieces. -
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<NumberOfPieces> 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:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
This is the raw content of NumberOfPieces. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable-length integer, suggested maximum length 4 digits.
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
NumberOfPieces
public NumberOfPieces() -
NumberOfPieces
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-