java.lang.Object
com.tectonica.jonix.onix2.Extent
- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixExtent>
,OnixComposite.OnixDataCompositeWithKey<JonixExtent,
,ExtentTypes> OnixTag
,Serializable
public class Extent
extends Object
implements OnixComposite.OnixDataCompositeWithKey<JonixExtent,ExtentTypes>, Serializable
Extent composite
A repeatable group of data elements which together describe an extent pertaining to the product.
Reference name | <Extent> |
Short tag | <extent> |
- <
Product
>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
boolean
exists()
indicates whether this tag exists in the ONIX recordAn ONIX code which identifies the type of extent carried in the composite, eg running time for an audio or video product.An ONIX code indicating the unit used for the <ExtentValue> and the format in which the value is presented.The numeric value of the extent specified in <ExtentType>.For advanced use-cases only.void
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
Extent
public Extent() -
Extent
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixComposite
This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites- Specified by:
_initialize
in interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
extentType
An ONIX code which identifies the type of extent carried in the composite, eg running time for an audio or video product. Mandatory in each occurrence of the <Extent> composite, and non-repeating.
Jonix-Comment: this field is required -
extentValue
The numeric value of the extent specified in <ExtentType>. Mandatory in each occurrence of the <Extent> composite, and non-repeating.
Jonix-Comment: this field is required -
extentUnit
An ONIX code indicating the unit used for the <ExtentValue> and the format in which the value is presented. Mandatory in each occurrence of the <Extent> composite, and non-repeating.
Jonix-Comment: this field is required -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixExtent>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixExtent,
ExtentTypes>
-