java.lang.Object
com.tectonica.jonix.onix3.NumberOfItemsOfThisForm
- All Implemented Interfaces:
OnixElement<Integer>
,OnixTag
,Serializable
Number of items of a specified form (product part)
When product parts are listed as a specified number of different items in a specified form, without identifying the individual items, <NumberOfItemsOfThisForm> must be used to carry the quantity, even if the number is ‘1’. Consequently the element is mandatory and non-repeating in an occurrence of the <ProductPart> composite if <NumberOfCopies> is not present; and it must not be used if <ProductIdentifier> is present.
Format | Positive integer, suggested maximum length 4 digits |
Reference name | <NumberOfItemsOfThisForm> |
Short tag | <x322> |
Cardinality | 0…1 |
Example | <x322>3</x322> |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final NumberOfItemsOfThisForm
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of NumberOfItemsOfThisForm. -
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<NumberOfItemsOfThisForm> 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
This is the raw content of NumberOfItemsOfThisForm. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Positive integer, suggested maximum length 4 digits
(type: dt.PositiveInteger)
-
EMPTY
-
-
Constructor Details
-
NumberOfItemsOfThisForm
public NumberOfItemsOfThisForm() -
NumberOfItemsOfThisForm
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Integer>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-