- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixIllustrations>
,OnixComposite.OnixDataCompositeWithKey<JonixIllustrations,
,IllustrationAndOtherContentTypes> OnixTag
,Serializable
Illustrations and other content composite
A repeatable group of data elements which together specify the number of illustrations or other content items of a stated type which the product carries. Use of the <Illustrations> composite is optional.
Reference name | <Illustrations> |
Short tag | <illustrations> |
- <
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 Illustrations
static final String
static final String
-
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<Illustrations> action) An ONIX code which identifies the type of illustration or other content to which an occurrence of the composite refers.Text describing the type of illustration or other content to which an occurrence of the composite refers, when a code is insufficient.number()
The number of illustrations or other content items of the type specified in <IllustrationType>.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
Illustrations
public Illustrations() -
Illustrations
-
-
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
-
illustrationType
An ONIX code which identifies the type of illustration or other content to which an occurrence of the composite refers. Mandatory in each occurrence of the <Illustrations> composite, and non-repeating.
Jonix-Comment: this field is required -
illustrationTypeDescription
Text describing the type of illustration or other content to which an occurrence of the composite refers, when a code is insufficient. Optional and non-repeating. Required when <IllustrationType> carries the value 00.
Jonix-Comment: this field is optional -
number
The number of illustrations or other content items of the type specified in <IllustrationType>. Optional and non-repeating.
Jonix-Comment: this field is optional -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixIllustrations>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixIllustrations,
IllustrationAndOtherContentTypes>
-