java.lang.Object
com.tectonica.jonix.onix2.WorkIdentifier
- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixWorkIdentifier>
,OnixComposite.OnixDataCompositeWithKey<JonixWorkIdentifier,
,WorkIdentifierTypes> OnixTag
,Serializable
public class WorkIdentifier
extends Object
implements OnixComposite.OnixDataCompositeWithKey<JonixWorkIdentifier,WorkIdentifierTypes>, Serializable
Work identifier composite
A group of data elements which together define the identifier of a work which is manifested in the product described by an ONIX <Product> record. Optional and repeatable.
Reference name | <WorkIdentifier> |
Short tag | <workidentifier> |
- <
Product
> - <
ContentItem
>
- 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 WorkIdentifier
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.A name which identifies a proprietary identifier scheme when, and only when, the code in <WorkIDType> indicates a proprietary scheme, eg a bibliographic agency’s own code.idValue()
An identifier of the type specified in <WorkIDType>.void
ifExists
(Consumer<WorkIdentifier> action) An ONIX code identifying the scheme from which the identifier in <IDValue> is taken.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
WorkIdentifier
public WorkIdentifier() -
WorkIdentifier
-
-
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
-
workIDType
An ONIX code identifying the scheme from which the identifier in <IDValue> is taken. Mandatory in each occurrence of the <WorkIdentifier> composite, and non-repeating.
Jonix-Comment: this field is required -
idValue
An identifier of the type specified in <WorkIDType>. Mandatory in each occurrence of the <WorkIdentifier> composite, and non-repeating.
Jonix-Comment: this field is required -
idTypeName
A name which identifies a proprietary identifier scheme when, and only when, the code in <WorkIDType> indicates a proprietary scheme, eg a bibliographic agency’s own code. Optional and non-repeating.
Jonix-Comment: this field is optional -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixWorkIdentifier>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixWorkIdentifier,
WorkIdentifierTypes>
-