java.lang.Object
com.tectonica.jonix.onix3.NumberOfPages
- All Implemented Interfaces:
OnixElement<Integer>,OnixTag,Serializable
Number of pages
The page extent of a text item within a paginated product. Optional and non-repeating, but normally expected when the text item is being referenced as part of a structured table of contents.
| Format | Positive integer, suggested maximum length 6 digits |
| Reference name | <NumberOfPages> |
| Short tag | <b061> |
| Cardinality | 0…1 |
| Example | <NumberOfPages>12</NumberOfPages> |
- <
TextItem>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final NumberOfPagesstatic final Stringstatic final String(type: dt.NonEmptyString)This is the raw content of NumberOfPages. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__v()Internal API, use theOnixElement.value()method or theOnixElement.value()field insteadbooleanexists()indicates whether this tag exists in the ONIX recordvoidifExists(Consumer<NumberOfPages> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 NumberOfPages. Could be null ifexists() == false. UseOnixElement.value()instead if you want to get this as anOptional.Raw Format: Positive integer, suggested maximum length 6 digits
(type: dt.PositiveInteger)
-
EMPTY
-
-
Constructor Details
-
NumberOfPages
public NumberOfPages() -
NumberOfPages
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()method or theOnixElement.value()field instead- Specified by:
__vin interfaceOnixElement<Integer>
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-