- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixReligiousTextFeature>
,OnixComposite.OnixDataCompositeWithKey<JonixReligiousTextFeature,
,ReligiousTextFeatureTypes> OnixTag
,Serializable
Religious text feature composite
A repeatable group of data elements which together specify and describe a feature of a religious text. Mandatory if and only if <ReligiousTextIdentifier> is present.
Reference name | <ReligiousTextFeature> |
Short tag | <religioustextfeature> |
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
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final ReligiousTextFeature
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<ReligiousTextFeature> action) An ONIX code describing a feature specified in the associated <ReligiousTextFeatureType> element.Free text describing a feature that is not adequately defined by code values alone.An ONIX code specifying a feature described in the associated <ReligiousTextFeatureCode> element.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
ReligiousTextFeature
public ReligiousTextFeature() -
ReligiousTextFeature
-
-
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
-
religiousTextFeatureType
An ONIX code specifying a feature described in the associated <ReligiousTextFeatureCode> element. Mandatory in each occurrence of the <ReligiousTextFeature> composite, and non-repeating.
Jonix-Comment: this field is required -
religiousTextFeatureCode
An ONIX code describing a feature specified in the associated <ReligiousTextFeatureType> element. Mandatory in each occurrence of the <ReligiousTextFeature> composite, and non-repeating.
Jonix-Comment: this field is required -
religiousTextFeatureDescriptions
Free text describing a feature that is not adequately defined by code values alone. Optional, and repeatable if parallel descriptive text is provided in multiple languages. The language attribute is optional for a single instance of <ReligiousTextFeatureDescription>, but must be included in each instance if <ReligiousTextFeatureDescription> is repeated.
Jonix-Comment: this list may be empty -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixReligiousTextFeature>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixReligiousTextFeature,
ReligiousTextFeatureTypes>
-