- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Resource version composite
A group of data elements which together describe a single version of a supporting resource, for example a particular format of a cover image. At least one instance is mandatory in each occurrence of the <SupportingResource> composite, and the composite should be repeated as necessary if the resource is offered in multiple versions.
Reference name | <ResourceVersion> |
Short tag | <resourceversion> |
Cardinality | 1…n |
Product
⯈ContentDetail
⯈ContentItem
⯈SupportingResource
⯈ResourceVersion
Product
⯈CollateralDetail
⯈SupportingResource
⯈ResourceVersion
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈EventOccurrence
⯈SupportingResource
⯈ResourceVersion
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈SupportingResource
⯈ResourceVersion
- 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 ResourceVersion
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.An optional group of data elements which together specify a date associated with a supporting resource version, eg the date until which the resource version will be available for download.Jonix-Comment: this list may be emptyAn optional group of data elements which together describe a usage constraint specific to a particular version of the resource offered.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<ResourceVersion> action) An ONIX code indicating the form of a version of a supporting resource.A URL which provides a link to a supporting resource.ListOfOnixDataCompositeWithKey<ResourceVersionFeature,
JonixResourceVersionFeature, ResourceVersionFeatureTypes> A group of data elements which together describe a feature of a supporting resource which is specific to a particular version in which the resource is offered.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
ResourceVersion
public ResourceVersion() -
ResourceVersion
-
-
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
-
resourceForm
An ONIX code indicating the form of a version of a supporting resource. Mandatory in each occurrence of the <ResourceVersion> composite, and non-repeating.
Jonix-Comment: this field is required -
resourceLinks
A URL which provides a link to a supporting resource. Mandatory in each occurrence of the <ResourceVersion> composite, and repeatable if the resource can be linked in more than one way, eg by URL or DOI, or where a supporting resource is available in multiple parallel languages. Where multiple languages are used, all repeats must carry the language attribute.
Jonix-Comment: this list is required to contain at least one item -
resourceVersionFeatures
public ListOfOnixDataCompositeWithKey<ResourceVersionFeature,JonixResourceVersionFeature, resourceVersionFeatures()ResourceVersionFeatureTypes> A group of data elements which together describe a feature of a supporting resource which is specific to a particular version in which the resource is offered. Formally optional, but it is unlikely that a supporting resource version could be adequately described without specifying some of its features. Repeatable in order to specify multiple features of the version of the resource.
Jonix-Comment: this list may be empty -
epubUsageConstraints
An optional group of data elements which together describe a usage constraint specific to a particular version of the resource offered. Repeatable in order to describe multiple constraints on usage.
Jonix-Comment: this list may be empty -
epubLicenses
Jonix-Comment: this list may be empty -
contentDates
An optional group of data elements which together specify a date associated with a supporting resource version, eg the date until which the resource version will be available for download. Repeatable to specify different dates with their various roles.
Jonix-Comment: this list may be empty
-