- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Prize statement
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.
Format | Variable length text, suggested maximum length 500 characters. XHTML is enabled in this element - see Using XHTML, HTML, XML, JSON within ONIX text fields |
Reference name | <PrizeStatement> |
Short tag | <x503> |
Cardinality | 0…n |
Attributes | language, textformat |
Example | <PrizeStatement language="eng" textformat="05"><p>Joint winner of the <cite>Mao Dun Literature Prize</cite>, 2000</p></PrizeStatement> |
- <
Prize
>
Product
⯈CollateralDetail
⯈Prize
⯈PrizeStatement
Product
⯈DescriptiveDetail
⯈Contributor
⯈Prize
⯈PrizeStatement
Product
⯈ContentDetail
⯈ContentItem
⯈Contributor
⯈Prize
⯈PrizeStatement
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈Contributor
⯈Prize
⯈PrizeStatement
Product
⯈DescriptiveDetail
⯈Collection
⯈Contributor
⯈Prize
⯈PrizeStatement
- Since:
- Onix-3.02
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final PrizeStatement
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of PrizeStatement. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<PrizeStatement> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
language
-
textformat
-
value
This is the raw content of PrizeStatement. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable length text, suggested maximum length 500 characters. XHTML is enabled in this element - see Using XHTML, HTML, XML, JSON within ONIX text fields
(type: XHTML)
-
EMPTY
-
-
Constructor Details
-
PrizeStatement
public PrizeStatement() -
PrizeStatement
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-