- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Prize composite
An optional group of data elements which together describe a prize or award won by the contributor for a body of work (rather than for this or other specific works or products). Repeatable to describe multiple prizes or awards.
Reference name | <Prize> |
Short tag | <prize> |
Cardinality | 0…n |
Product
⯈CollateralDetail
⯈Prize
Product
⯈DescriptiveDetail
⯈Contributor
⯈Prize
Product
⯈ContentDetail
⯈ContentItem
⯈Contributor
⯈Prize
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈Contributor
⯈Prize
Product
⯈DescriptiveDetail
⯈Collection
⯈Contributor
⯈Prize
- Since:
- Onix-3.03
- 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.The name of the organization(s) that awarded the prize.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
An ONIX code indicating the achievement of the product in relation to a prize or award, eg winner, runner-up, shortlisted.An ONIX code identifying the country in which a prize or award is given.A group of data elements which together specify an identifier for the Prize.Free text listing members of the jury that awarded the prize.The name of a prize or award which the product or work has received.An ONIX code identifying the region in which a prize or award is given.A short free-text description of the prize or award, intended primarily for display.The year in which a prize or award was given.A number which specifies a single overall sequence of prizes.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
Prize
public Prize() -
Prize
-
-
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
-
prizeNames
The name of a prize or award which the product or work has received. Mandatory in each occurrence of the <Prize> composite, and repeatable to provide a parallel award name in multiple languages. The language attribute is optional for a single instance of <PrizeName>, but must be included in each instance if <PrizeName> is repeated.
Jonix-Comment: this list is required to contain at least one item -
sequenceNumber
A number which specifies a single overall sequence of prizes. Optional and non-repeating. It is strongly recommended that if any occurrence of the <Prize> composite carries a <SequenceNumber>, then all should carry a <SequenceNumber>.
Jonix-Comment: this field is optional -
prizeYear
The year in which a prize or award was given. Optional and non-repeating.
Jonix-Comment: this field is optional -
prizeCountry
An ONIX code identifying the country in which a prize or award is given. Optional and non-repeating.
Jonix-Comment: this field is optional -
prizeRegion
An ONIX code identifying the region in which a prize or award is given. Optional and non-repeatable. A region is an area which is not a country, but which is precisely defined in geographical terms, eg Newfoundland and Labrador, Florida. If both country and region are specified, the region must be within the country. Note that US States have region codes, while US overseas territories have distinct ISO Country Codes.
Jonix-Comment: this field is optional -
prizeCode
An ONIX code indicating the achievement of the product in relation to a prize or award, eg winner, runner-up, shortlisted. Optional and non-repeating.
Jonix-Comment: this field is optional -
prizeIdentifiers
public ListOfOnixDataCompositeWithKey<PrizeIdentifier,JonixPrizeIdentifier, prizeIdentifiers()PrizeIdentifierTypes> A group of data elements which together specify an identifier for the Prize. The composite is optional, and repatable if more than one identifier for the same prize is sent.
Jonix-Comment: this list may be empty -
awardingBodys
The name of the organization(s) that awarded the prize. Optional, and repeatable if the text is provided in more than one language. The language attribute is optional for a single instance of <AwardingBody>, but must be included in each instance if <AwardingBody> is repeated.
Jonix-Comment: this list may be empty -
prizeStatements
A short free-text description of the prize or award, intended primarily for display. Optional, and repeatable if the text is provided in more than one language. The language attribute is optional for a single instance of <PrizeStatement>, but must be included in each instance if <PrizeStatement> is repeated.
<PrizeStatement> is intended for display purposes only. When used, a <PrizeStatement> must be complete in itself, ie it should not be treated as merely supplementary to other elements within the <Prize> composite. Nor should <PrizeStatement> be supplied instead of those other elements – at minimum, the <PrizeCode> element, and whenever appropriate the <PrizeYear> element should be supplied.
Jonix-Comment: this list may be empty -
prizeJurys
Free text listing members of the jury that awarded the prize. Optional, and repeatable if the text is provided in more than one language. The language attribute is optional for a single instance of <PrizeJury>, but must be included in each instance if <PrizeJury> is repeated.
Jonix-Comment: this list may be empty
-