java.lang.Object
com.tectonica.jonix.onix3.Rating
- All Implemented Interfaces:
OnixElement<Double>
,OnixTag
,Serializable
Review rating
The ‘star rating’ awarded as part of a review of the publication. Mandatory within an occurrence of the <ReviewRating> composite, and non-repeating.
Format | Positive real number, with explicit decimal point when required, or zero, as appropriate for the limit specified in <RatingLimit>. Suggested maximum length 7 characters |
Reference name | <Rating> |
Short tag | <x525> |
Cardinality | 1 |
Example | <Rating>4.5</Rating> (4.5 out of 5 stars) |
Product
⯈ContentDetail
⯈ContentItem
⯈TextContent
⯈ReviewRating
⯈Rating
Product
⯈CollateralDetail
⯈TextContent
⯈ReviewRating
⯈Rating
Product
⯈ContentDetail
⯈ContentItem
⯈CitedContent
⯈ReviewRating
⯈Rating
Product
⯈CollateralDetail
⯈CitedContent
⯈ReviewRating
⯈Rating
- Since:
- Onix-3.03
- See Also:
-
Field Summary
-
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
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
-
value
This is the raw content of Rating. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Positive real number, with explicit decimal point when required, or zero, as appropriate for the limit specified in <RatingLimit>. Suggested maximum length 7 characters
(type: dt.PositiveDecimalOrZero)
-
EMPTY
-
-
Constructor Details
-
Rating
public Rating() -
Rating
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Double>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-