java.lang.Object
com.tectonica.jonix.onix2.Complexity
- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixComplexity>
,OnixTag
,Serializable
public class Complexity
extends Object
implements OnixComposite.OnixDataComposite<JonixComplexity>, Serializable
Complexity composite
An optional and repeatable group of data elements which together describe the level of complexity of a text.
Reference name | <Complexity> |
Short tag | <complexity> |
- <
Product
>
- 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: DateOrDateTime)static final Complexity
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
A code specifying the level of complexity of a text.An ONIX code specifying the scheme from which the value in <ComplexityCode> is taken.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<Complexity> action)
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
Complexity
public Complexity() -
Complexity
-
-
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
-
complexitySchemeIdentifier
An ONIX code specifying the scheme from which the value in <ComplexityCode> is taken.
Jonix-Comment: this field is required -
complexityCode
A code specifying the level of complexity of a text.
Jonix-Comment: this field is required -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixComplexity>
-