java.lang.Object
com.tectonica.jonix.onix3.ExtentValue
- All Implemented Interfaces:
OnixElement<Double>
,OnixTag
,Serializable
Extent value
The numeric value of the extent specified in <ExtentType>. Optional, and non-repeating. However, either <ExtentValue> or <ExtentValueRoman>, or both, must be present in each occurrence of the <Extent> composite; and it is very strongly recommended that <ExtentValue> should always be included, even when the original product uses Roman numerals.
Format | Positive real number, with explicit decimal point when required, as appropriate for the units specified in <ExtentUnit>. Suggested maximum length 8 characters |
Reference name | <ExtentValue> |
Short tag | <b219> |
Cardinality | 0…1 |
Example | <b219>2.5</b219> |
- <
Extent
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final ExtentValue
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of ExtentValue. -
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<ExtentValue> 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 ExtentValue. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Positive real number, with explicit decimal point when required, as appropriate for the units specified in <ExtentUnit>. Suggested maximum length 8 characters
(type: dt.PositiveDecimal)
-
EMPTY
-
-
Constructor Details
-
ExtentValue
public ExtentValue() -
ExtentValue
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Double>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-