- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixResourceFileFeature>
,OnixComposite.OnixDataCompositeWithKey<JonixResourceFileFeature,
,ResourceFileFeatureTypes> OnixTag
,Serializable
Resource file feature composite
An optional group of data elements which together describe an aspect of a resource file specified in <ResourceFileLink> that is too specific to be covered in the <ResourceFileDetail> element. It may only be used when <ResourceFileLink> is present, and is repeatable in order to describe different aspects of the resource file.
Reference name | <ResourceFileFeature> |
Short tag | <resourcefilefeature> |
Cardinality | 0…n |
Product
⯈ProductionDetail
⯈ProductionManifest
⯈SupplementManifest
⯈CoverManifest
⯈CoverResource
⯈ResourceFileFeature
Product
⯈ProductionDetail
⯈ProductionManifest
⯈CoverManifest
⯈CoverResource
⯈ResourceFileFeature
Product
⯈ProductionDetail
⯈ProductionManifest
⯈SupplementManifest
⯈BodyManifest
⯈BodyResource
⯈ResourceFileFeature
Product
⯈ProductionDetail
⯈ProductionManifest
⯈BodyManifest
⯈BodyResource
⯈ResourceFileFeature
Product
⯈ProductionDetail
⯈ProductionManifest
⯈SupplementManifest
⯈InsertManifest
⯈InsertResource
⯈ResourceFileFeature
Product
⯈ProductionDetail
⯈ProductionManifest
⯈InsertManifest
⯈InsertResource
⯈ResourceFileFeature
- 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
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final ResourceFileFeature
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<ResourceFileFeature> action) If the <ResourceFileFeatureType> requires free text rather than a code value, or if the code in <ResourceFileFeatureValue> does not adequately specify the feature of the insert, a short text description may be added.An ONIX code which specifies the feature of the resource file described by an instance of the <ResourceFileFeature> composite, eg a checksum or hash for the resource file.A controlled value that specifies a feature of the resource file.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
ResourceFileFeature
public ResourceFileFeature() -
ResourceFileFeature
-
-
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
-
resourceFileFeatureType
An ONIX code which specifies the feature of the resource file described by an instance of the <ResourceFileFeature> composite, eg a checksum or hash for the resource file. Mandatory in each occurrence of the composite, and non-repeating.
Jonix-Comment: this field is required -
resourceFileFeatureValue
A controlled value that specifies a feature of the resource file. Presence or absence of this element depends on the <ResourceFileFeatureType>, since some feature types may not require an accompanying value, while others may require free text in <ResourceFileFeatureDescription> and some may have both code and free text. Non-repeating.
Jonix-Comment: this field is optional -
resourceFileFeatureDescriptions
If the <ResourceFileFeatureType> requires free text rather than a code value, or if the code in <ResourceFileFeatureValue> does not adequately specify the feature of the insert, a short text description may be added. Optional, and repeatable to provide parallel descriptive text in multiple languages. The language attribute is optional for a single instance of <ResourceFileFeatureDescription>, but must be included in each instance if <ResourceFileFeatureDescription> is repeated.
Jonix-Comment: this list may be empty -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixResourceFileFeature>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixResourceFileFeature,
ResourceFileFeatureTypes>
-