java.lang.Object
com.tectonica.jonix.onix3.RelatedMaterial
- All Implemented Interfaces:
OnixComposite,OnixComposite.OnixSuperComposite,OnixTag,Serializable
public class RelatedMaterial
extends Object
implements OnixComposite.OnixSuperComposite, Serializable
Related material composite
The related material block covers data Groups P.22 and P.23, providing links to related works and related products. The block as a whole is optional and non-repeating.
None of the individual sections are mandatory within an occurrence of the block. However, in most circumstances, the block should contain at least one instance of <RelatedWork> or <RelatedProduct>. It may be empty only within a partial or ‘block update’ (Notification or update type 04, see P.1.2), when the intention is to remove all previously-supplied information about related works and products.
| Reference name | <RelatedMaterial> |
| Short tag | <relatedmaterial> |
| Cardinality | 0…1 |
- <
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
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final RelatedMaterialstatic final Stringstatic final String(type: dt.NonEmptyString) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis is an internal API.booleanexists()indicates whether this tag exists in the ONIX recordFor advanced use-cases only.voidifExists(Consumer<RelatedMaterial> action) An optional group of data elements which together describe a product which has a specified relationship to the product described in the ONIX record.An optional group of data elements which together describe a work which has a specified relationship to the product described in the ONIX record.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
RelatedMaterial
public RelatedMaterial() -
RelatedMaterial
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixCompositeThis 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:
_initializein interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixCompositeFor advanced use-cases only.- Specified by:
getXmlElementin interfaceOnixComposite- Returns:
- native representation of the XML element underlying to this tag
-