- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Approximate number of pages
An indication of the total number of pages in a book or other printed product. This is not intended to represent a precise count of numbered and unnumbered pages. It is usually sufficient to take the number from the last numbered page. If there are two or more separate numbering sequences (eg xviii + 344), the numbers in each sequence may be added together to make an overall total (in this case 362), but do not count unnumbered pages except if the book does not have numbered pages at all.
For multi-volume books, enter the total for all the volumes combined.
This field is optional, but it is normally required for a printed book unless the <PagesRoman> and <PagesArabic> elements are used, and is non-repeating.
Format | Variable length integer, suggested maximum length 6 digits. |
Reference name | <NumberOfPages> |
Short tag | <b061> |
Example | <b061>442</b061> |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final NumberOfPages
static final String
static final String
This is the raw content of NumberOfPages. -
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<NumberOfPages> 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 NumberOfPages. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable length integer, suggested maximum length 6 digits.
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
NumberOfPages
public NumberOfPages() -
NumberOfPages
-
-
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
-