- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixResourceVersionFeature>
,OnixComposite.OnixDataCompositeWithKey<JonixResourceVersionFeature,
,ResourceVersionFeatureTypes> OnixTag
,Serializable
Resource version feature composite
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.
Reference name | <ResourceVersionFeature> |
Short tag | <resourceversionfeature> |
Cardinality | 0…n |
Product
⯈ContentDetail
⯈ContentItem
⯈SupportingResource
⯈ResourceVersion
⯈ResourceVersionFeature
Product
⯈CollateralDetail
⯈SupportingResource
⯈ResourceVersion
⯈ResourceVersionFeature
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈EventOccurrence
⯈SupportingResource
⯈ResourceVersion
⯈ResourceVersionFeature
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈SupportingResource
⯈ResourceVersion
⯈ResourceVersionFeature
- 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 ResourceVersionFeature
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 recordIf the <ResourceVersionFeatureType> requires free text rather than a code value, or if the code in <FeatureValue> does not adequately describe the feature, a short text note may be added.A controlled value that describes a resource version feature.For advanced use-cases only.void
ifExists
(Consumer<ResourceVersionFeature> action) An ONIX code which specifies a feature described by an instance of the <ResourceVersionFeature> composite.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
ResourceVersionFeature
public ResourceVersionFeature() -
ResourceVersionFeature
-
-
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
-
resourceVersionFeatureType
An ONIX code which specifies a feature described by an instance of the <ResourceVersionFeature> composite. Mandatory in each occurrence of the composite, and non-repeating.
Jonix-Comment: this field is required -
featureValue
A controlled value that describes a resource version feature. Presence or absence of this element depends on the <ResourceVersionFeatureType>, since some features may not require an accompanying value, while others may require free text in <FeatureNote>, and others may have both a value and free text. Non-repeating.
Jonix-Comment: this field is optional -
featureNotes
If the <ResourceVersionFeatureType> requires free text rather than a code value, or if the code in <FeatureValue> does not adequately describe the feature, a short text note may be added. Optional, and repeatable when parallel notes are provided in multiple languages. The language attribute is optional for a single instance of <FeatureNote>, but must be included in each instance if <FeatureNote> is repeated.
Jonix-Comment: this list may be empty -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixResourceVersionFeature>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixResourceVersionFeature,
ResourceVersionFeatureTypes>
-