- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixCollectionIdentifier>
,OnixComposite.OnixDataCompositeWithKey<JonixCollectionIdentifier,
,CollectionIdentifierTypes> OnixTag
,Serializable
Collection identifier composite
A repeatable group of data elements which together specify an identifier of a bibliographic collection. The composite is optional, and may only repeat if two or more identifiers of different types are sent for the same collection. It is not permissible to have two identifiers of the same type.
Reference name | <CollectionIdentifier> |
Short tag | <collectionidentifier> |
Cardinality | 0…n |
- 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: dt.DateOrDateTime)static final CollectionIdentifier
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
An ONIX code indicating the level of the collection title element (collection level or sub-collection level) to which the identifier in the <IDValue> element is assigned.An ONIX code identifying a scheme from which an identifier in the <IDValue> element is taken.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.A name which identifies a proprietary identifier scheme (ie a scheme which is not a standard and for which there is no individual ID type code).idValue()
An identifier of the type specified in the <CollectionIDType> field.void
ifExists
(Consumer<CollectionIdentifier> action)
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
CollectionIdentifier
public CollectionIdentifier() -
CollectionIdentifier
-
-
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
-
collectionIDType
An ONIX code identifying a scheme from which an identifier in the <IDValue> element is taken. Mandatory in each occurrence of the <CollectionIdentifier> composite, and non-repeating.
Jonix-Comment: this field is required -
idValue
An identifier of the type specified in the <CollectionIDType> field. Mandatory in each occurrence of the <CollectionIdentifier> composite, and non-repeating.
Jonix-Comment: this field is required -
collectionElementLevel
An ONIX code indicating the level of the collection title element (collection level or sub-collection level) to which the identifier in the <IDValue> element is assigned. Optional in each occurrence of the <CollectionIdentifier> composite, and non-repeating.
When used, the specified level must match the level of a <TitleElement> within the same Collection composite, or – is there is no <TitleDetail> within the Collection composite – the level of a <TitleElement> within Group P.6.
Jonix-Comment: this field is optional -
idTypeName
A name which identifies a proprietary identifier scheme (ie a scheme which is not a standard and for which there is no individual ID type code). Must be included when, and only when, the code in <CollectionIDType> indicates a proprietary scheme, eg a publisher’s own code. Optional and non-repeating.
Jonix-Comment: this field is optional -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixCollectionIdentifier>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixCollectionIdentifier,
CollectionIdentifierTypes>
-