- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Cited content composite
An optional group of data elements which together describe a piece of cited content. The composite is repeatable to describe and link to multiple items of cited material.
Reference name | <CitedContent> |
Short tag | <citedcontent> |
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 CitedContent
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.A free text note giving any additional information about cited content, for example a detailed volume, issue and page reference to content cited from a periodical.An ONIX code indicating the type of content which is being cited.An ONIX code which identifies the audience for which a piece of cited content is intended.An optional and repeatable group of data elements which together specify a date associated with cited content, eg date on which it was published or broadcast.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<CitedContent> action) The name of a bestseller list, when the <CitedContent> composite is used to refer to a position which a product has reached on such a list.The position that a product has reached on a bestseller list specified in <ListName>.A URL which provides a link to cited content which is accessible in digital form.An optional group of data elements which together specify a ‘star rating’ awarded as part of a review of the publication, used where <CitedContentType> indicates the cited content is a review.A number which specifies a single overall sequence of cited content.The title, name or short description of a publication, broadcast, website or other source of cited content.An ONIX code indicating the type of source from which the cited material originated, eg radio, TV.A group of data elements which together define a territory for which the cited content is specifically intended.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
CitedContent
public CitedContent() -
CitedContent
-
-
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
-
citedContentType
An ONIX code indicating the type of content which is being cited. Mandatory in each occurrence of the <CitedContent> composite, and non-repeating.
Jonix-Comment: this field is required -
reviewRating
An optional group of data elements which together specify a ‘star rating’ awarded as part of a review of the publication, used where <CitedContentType> indicates the cited content is a review. Not repeatable.
Jonix-Comment: this field is required -
sourceTitles
The title, name or short description of a publication, broadcast, website or other source of cited content. Optional, and repeatable; required unless the cited content refers to a bestseller list, and <ListName> is present. <SourceTitle> may be repeated to provide the title in multiple languages. The language attribute is optional for a single instance of <SourceTitle>, but must be included in each instance if <SourceTitle> is repeated.
Jonix-Comment: this list is required to contain at least one item -
sequenceNumber
A number which specifies a single overall sequence of cited content. Optional and non-repeating. It is strongly recommended that if any occurrence of the <CitedContent> composite of a specific <CitedContentType> carries a <SequenceNumber>, then all of that type should carry a <SequenceNumber> – though there is no requirement to number cited content where there is a single instance of that type.
Jonix-Comment: this field is optional -
territory
A group of data elements which together define a territory for which the cited content is specifically intended. Optional in each occurrence of the <CitedContent> composite, and non-repeating. If omitted, the content is intended to be cited (linked to) wherever the product may be sold (see Territorial sales rights in Group P.21). If included, the content should be cited by recipients in the specified territory only, and in preference to any cited content that lacks a specified territory.
For valid combinations of <CountriesIncluded>, <RegionsIncluded> etc within <Territory>, see the notes describing the use of <Territory> within Group P.21.
Care should be taken to avoid ambiguities (for example two different citations of the same type marked for use in the same country or region), and to ensure that appropriate citations are supplied for all countries and regions where the product may be sold. The simplest way to accomplish the latter is to ensure at least one version of the citation does not have a territory specified. Where multiple citations of the same type are provided, those without specific <Territory> composites are intended for use only where no appropriate targeted citation is present.
Jonix-Comment: this field is optional -
sourceType
An ONIX code indicating the type of source from which the cited material originated, eg radio, TV. Optional, and non-repeating.
Jonix-Comment: this field is optional -
positionOnList
The position that a product has reached on a bestseller list specified in <ListName>. Optional and non-repeating. The <ListName> element must also be present if <PositionOnList> is included.
Jonix-Comment: this field is optional -
contentAudiences
An ONIX code which identifies the audience for which a piece of cited content is intended. Optional and repeatable.
Jonix-Comment: this list may be empty -
listNames
The name of a bestseller list, when the <CitedContent> composite is used to refer to a position which a product has reached on such a list. Optional, and repeatable to provide a parallel list name in multiple languages. The language attribute is optional for a single instance of <ListName>, but must be included in each instance if <ListName> is repeated.
Jonix-Comment: this list may be empty -
citationNotes
A free text note giving any additional information about cited content, for example a detailed volume, issue and page reference to content cited from a periodical. Optional, and repeatable when parallel text is provided in multiple languages. The language attribute is optional for a single instance of <CitationNote>, but must be included in each instance if <CitationNote> is repeated.
Jonix-Comment: this list may be empty -
resourceLinks
A URL which provides a link to cited content which is accessible in digital form. Optional, and repeatable if the resource can be linked in more than one way, eg by URL or DOI, or where a cited resource is available in multiple parallel languages. Where multiple languages are used, all repeats must carry the language attribute.
Jonix-Comment: this list may be empty -
contentDates
An optional and repeatable group of data elements which together specify a date associated with cited content, eg date on which it was published or broadcast.
Jonix-Comment: this list may be empty
-