- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixMarketDate>
,OnixComposite.OnixDataCompositeWithKey<JonixMarketDate,
,PublishingDateRoles> OnixTag
,Serializable
Market date composite
A group of data elements which together specify a date associated with the publishing status of the product in a specified market, eg ‘local publication date’. Optional, but if known, a date of publication must be specified either here as a ‘local publication date’ or in P.20. Other dates relating to the publication of the product in the specific market may be sent in further repeats of the composite.
Reference name | <MarketDate> |
Short tag | <marketdate> |
Cardinality | 0…n |
- 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
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final MarketDate
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
date()
The date specified in the <MarketDateRole> field.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<MarketDate> action) An ONIX code indicating the significance of the date.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
MarketDate
public MarketDate() -
MarketDate
-
-
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
-
marketDateRole
An ONIX code indicating the significance of the date. Mandatory in each occurrence of the <MarketDate> composite, and non-repeating.
Jonix-Comment: this field is required -
date
The date specified in the <MarketDateRole> field. Mandatory in each occurrence of the <MarketDate> composite, and non-repeating. <Date> may carry a dateformat attribute: if the attribute is missing, then the default format is YYYYMMDD.
Jonix-Comment: this field is required -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixMarketDate>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixMarketDate,
PublishingDateRoles>
-