Module jonix.onix3

Class ReligiousTextFeature

java.lang.Object
com.tectonica.jonix.onix3.ReligiousTextFeature
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

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • ReligiousTextFeature

      public ReligiousTextFeature()
    • ReligiousTextFeature

      public ReligiousTextFeature(Element element)
  • 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 interface OnixComposite
    • exists

      public boolean exists()
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<ReligiousTextFeature> or <religioustextfeature>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<ReligiousTextFeature> action)
    • getXmlElement

      public Element getXmlElement()
      Description copied from interface: OnixComposite
      For advanced use-cases only.
      Specified by:
      getXmlElement in interface OnixComposite
      Returns:
      native representation of the XML element underlying to this tag
    • religiousTextFeatureType

      public ReligiousTextFeatureType 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

      public ReligiousTextFeatureCode 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

      public ListOfOnixElement<ReligiousTextFeatureDescription,String> 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

      public JonixReligiousTextFeature asStruct()
      Specified by:
      asStruct in interface OnixComposite.OnixDataComposite<JonixReligiousTextFeature>
    • structKey

      public ReligiousTextFeatureTypes structKey()
      Specified by:
      structKey in interface OnixComposite.OnixDataCompositeWithKey<JonixReligiousTextFeature,ReligiousTextFeatureTypes>