java.lang.Object
com.tectonica.jonix.onix3.TimeRun
- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixTimeRun>
,OnixTag
,Serializable
public class TimeRun
extends Object
implements OnixComposite.OnixDataComposite<JonixTimeRun>, Serializable
Time run composite
A repeatable group of data elements which together define the time period which an AV item takes up. The composite is optional, but may be repeated where the AV item covers two or more separate periods of time.
Reference name | <TimeRun> |
Short tag | <timerun> |
Cardinality | 0…n |
- <
AVItem
>
Product
⯈ContentDetail
⯈ContentItem
⯈AVItem
⯈TimeRun
- Since:
- Onix-3.05
- 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()
endTime()
The time (relative to the beginning of the product’s audio or audiovisual content) of the end of a continuous sequence of audio or audiovisual content.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
The time (relative to the beginning of the product’s audio or audiovisual content) of the beginning of a continuous sequence of audiovisual content.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
TimeRun
public TimeRun() -
TimeRun
-
-
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
-
startTime
The time (relative to the beginning of the product’s audio or audiovisual content) of the beginning of a continuous sequence of audiovisual content. Mandatory in each occurrence of the <TimeRun> composite, and non-repeating.
Jonix-Comment: this field is required -
endTime
The time (relative to the beginning of the product’s audio or audiovisual content) of the end of a continuous sequence of audio or audiovisual content. Optional in each occurrence of the <TimeRun> composite, and non-repeating.
Jonix-Comment: this field is optional -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixTimeRun>
-