java.lang.Object
com.tectonica.jonix.onix3.ResourceFileDate
- All Implemented Interfaces:
OnixComposite,OnixComposite.OnixDataComposite<JonixResourceFileDate>,OnixComposite.OnixDataCompositeWithKey<JonixResourceFileDate,,ResourceFileDateRoles> OnixTag,Serializable
public class ResourceFileDate
extends Object
implements OnixComposite.OnixDataCompositeWithKey<JonixResourceFileDate,ResourceFileDateRoles>, Serializable
Resource file date composite
An optional group of data elements which together specify a date associated with the resource file specified in <ResourceFileLink>, eg date when the resource was last updated. Repeatable to specify different dates with their various roles, but may only be used when <ResourceFileLink> is present.
| Reference name | <ResourceFileDate> |
| Short tag | <resourcefiledate> |
| Cardinality | 0…n |
Product⯈ProductionDetail⯈ProductionManifest⯈SupplementManifest⯈CoverManifest⯈CoverResource⯈ResourceFileDateProduct⯈ProductionDetail⯈ProductionManifest⯈CoverManifest⯈CoverResource⯈ResourceFileDateProduct⯈ProductionDetail⯈ProductionManifest⯈SupplementManifest⯈BodyManifest⯈BodyResource⯈ResourceFileDateProduct⯈ProductionDetail⯈ProductionManifest⯈BodyManifest⯈BodyResource⯈ResourceFileDateProduct⯈ProductionDetail⯈ProductionManifest⯈SupplementManifest⯈InsertManifest⯈InsertResource⯈ResourceFileDateProduct⯈ProductionDetail⯈ProductionManifest⯈InsertManifest⯈InsertResource⯈ResourceFileDate
- Since:
- Onix-3.08
- 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 ResourceFileDatestatic 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 <ResourceFileDateRole> field.booleanexists()indicates whether this tag exists in the ONIX recordFor advanced use-cases only.voidifExists(Consumer<ResourceFileDate> action) An ONIX code indicating the significance of the date in relation to the resource file.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
ResourceFileDate
public ResourceFileDate() -
ResourceFileDate
-
-
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
-
resourceFileDateRole
An ONIX code indicating the significance of the date in relation to the resource file. Mandatory in each occurrence of the <ResourceFileDate> composite, and non-repeating.
JONIX adds: this field is required -
date
The date specified in the <ResourceFileDateRole> field. Mandatory in each occurrence of the <ResourceFileDate> 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<JonixResourceFileDate>
-
structKey
- Specified by:
structKeyin interfaceOnixComposite.OnixDataCompositeWithKey<JonixResourceFileDate,ResourceFileDateRoles>
-