- All Implemented Interfaces:
OnixComposite,OnixComposite.OnixDataComposite<JonixPublishingDate>,OnixComposite.OnixDataCompositeWithKey<JonixPublishingDate,,PublishingDateRoles> OnixTag,Serializable
Publishing date composite
A group of data elements which together specify a date associated with the publishing of the product. Optional, but where known, at least a date of publication must be specified either here (as a ‘global’ pub date) or in <MarketPublishingDetail> (P.25). Other dates related to the publishing of a product can be sent in further repeats of the composite.
| Reference name | <PublishingDate> |
| Short tag | <publishingdate> |
| 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
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final PublishingDatestatic final Stringstatic final String(type: dt.NonEmptyString) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis is an internal API.asStruct()date()The date specified in the <PublishingDateRole> field.booleanexists()indicates whether this tag exists in the ONIX recordFor advanced use-cases only.voidifExists(Consumer<PublishingDate> action) An ONIX code indicating the significance of the date, eg publication date, announcement date, latest reprint date.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
PublishingDate
public PublishingDate() -
PublishingDate
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixCompositeThis 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:
_initializein interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixCompositeFor advanced use-cases only.- Specified by:
getXmlElementin interfaceOnixComposite- Returns:
- native representation of the XML element underlying to this tag
-
publishingDateRole
An ONIX code indicating the significance of the date, eg publication date, announcement date, latest reprint date. Mandatory in each occurrence of the <PublishingDate> composite, and non-repeating.
JONIX adds: this field is required -
date
The date specified in the <PublishingDateRole> field. Mandatory in each occurrence of the <PublishingDate> composite, and non-repeating. <Date> may carry a dateformat attribute: if the attribute is missing, then the default format is YYYYMMDD.
JONIX adds: this field is required -
asStruct
- Specified by:
asStructin interfaceOnixComposite.OnixDataComposite<JonixPublishingDate>
-
structKey
- Specified by:
structKeyin interfaceOnixComposite.OnixDataCompositeWithKey<JonixPublishingDate,PublishingDateRoles>
-