- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixResourceIdentifier>
,OnixComposite.OnixDataCompositeWithKey<JonixResourceIdentifier,
,ResourceIdentifierTypes> OnixTag
,Serializable
Resource identifier composite
A group of data elements which together specify an identifier of the resource, in accordance with the specified scheme. The composite is optional, and repeatable to specify multiple identifiers for the resource, but may only be used when <ResourceFileLink> is present.
Reference name | <ResourceIdentifier> |
Short tag | <resourceidentifier> |
Cardinality | 0…n |
Product
⯈ProductionDetail
⯈ProductionManifest
⯈SupplementManifest
⯈CoverManifest
⯈CoverResource
⯈ResourceIdentifier
Product
⯈ProductionDetail
⯈ProductionManifest
⯈CoverManifest
⯈CoverResource
⯈ResourceIdentifier
Product
⯈ProductionDetail
⯈ProductionManifest
⯈SupplementManifest
⯈BodyManifest
⯈BodyResource
⯈ResourceIdentifier
Product
⯈ProductionDetail
⯈ProductionManifest
⯈BodyManifest
⯈BodyResource
⯈ResourceIdentifier
Product
⯈ProductionDetail
⯈ProductionManifest
⯈SupplementManifest
⯈InsertManifest
⯈InsertResource
⯈ResourceIdentifier
Product
⯈ProductionDetail
⯈ProductionManifest
⯈InsertManifest
⯈InsertResource
⯈ResourceIdentifier
- Since:
- Onix-3.08
- 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 ResourceIdentifier
static final String
static final String
(type: dt.NonEmptyString) -
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 (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 <ResourceIDType> element.void
ifExists
(Consumer<ResourceIdentifier> action) An ONIX code identifying the scheme from which the identifier in <IDValue> is taken.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
ResourceIdentifier
public ResourceIdentifier() -
ResourceIdentifier
-
-
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
-
resourceIDType
An ONIX code identifying the scheme from which the identifier in <IDValue> is taken. Mandatory in each occurrence of the <ResourceIdentifier> composite, and non-repeating.
Jonix-Comment: this field is required -
idValue
An identifier of the type specified in the <ResourceIDType> element. Mandatory in each occurrence of the <ResourceIdentifier> composite, and non-repeating.
Jonix-Comment: this field is required -
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 <ResourceIDType> indicates a proprietary scheme, eg a publisher’s own identifier type. Optional and non-repeating.
Jonix-Comment: this field is optional -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixResourceIdentifier>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixResourceIdentifier,
ResourceIdentifierTypes>
-