java.lang.Object
com.tectonica.jonix.onix3.RatingLimit
- All Implemented Interfaces:
OnixElement<Integer>
,OnixTag
,Serializable
Review rating limit
The maximum possible rating that may be awarded as part of a review of the publication. Optional, but where used, it must be greater than or equal to the specified <Rating>.
Format | Positive integer number, suggested maximum length 4 digits |
Reference name | <RatingLimit> |
Short tag | <x526> |
Cardinality | 0…1 |
Example | <RatingLimit>5</RatingLimit> (4.5 out of 5 stars) |
Product
⯈ContentDetail
⯈ContentItem
⯈TextContent
⯈ReviewRating
⯈RatingLimit
Product
⯈CollateralDetail
⯈TextContent
⯈ReviewRating
⯈RatingLimit
Product
⯈ContentDetail
⯈ContentItem
⯈CitedContent
⯈ReviewRating
⯈RatingLimit
Product
⯈CollateralDetail
⯈CitedContent
⯈ReviewRating
⯈RatingLimit
- Since:
- Onix-3.03
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final RatingLimit
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of RatingLimit. -
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<RatingLimit> 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
-
value
This is the raw content of RatingLimit. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Positive integer number, suggested maximum length 4 digits
(type: dt.PositiveIntegerOrZero)
-
EMPTY
-
-
Constructor Details
-
RatingLimit
public RatingLimit() -
RatingLimit
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Integer>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-