java.lang.Object
com.tectonica.jonix.onix2.ParentIdentifier
- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixParentIdentifier>
,OnixComposite.OnixDataCompositeWithKey<JonixParentIdentifier,
,CollectionIdentifierTypes> OnixTag
,Serializable
public class ParentIdentifier
extends Object
implements OnixComposite.OnixDataCompositeWithKey<JonixParentIdentifier,CollectionIdentifierTypes>, Serializable
This tag may be included in the following composites:
Possible placements within ONIX message:
- 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 ParentIdentifier
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.Jonix-Comment: this field is optionalidValue()
Jonix-Comment: this field is requiredvoid
ifExists
(Consumer<ParentIdentifier> action) An ONIX code identifying the scheme from which the identifier in the <IDValue> element is taken.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
ParentIdentifier
public ParentIdentifier() -
ParentIdentifier
-
-
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
-
seriesIDType
An ONIX code identifying the scheme from which the identifier in the <IDValue> element is taken. Mandatory in each occurrence of the <SeriesIdentifier> composite, and non-repeating.
Jonix-Comment: this field is required -
idValue
Jonix-Comment: this field is required -
idTypeName
Jonix-Comment: this field is optional -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixParentIdentifier>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixParentIdentifier,
CollectionIdentifierTypes>
-