Module jonix.onix3

Class RatingLimit

java.lang.Object
com.tectonica.jonix.onix3.RatingLimit
All Implemented Interfaces:
OnixElement<Integer>, OnixTag, Serializable

public class RatingLimit extends Object implements OnixElement<Integer>, 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)

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.03
See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

      public Integer value
      This is the raw content of RatingLimit. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Positive integer number, suggested maximum length 4 digits

      (type: dt.PositiveIntegerOrZero)

    • EMPTY

      public static final RatingLimit EMPTY
  • Constructor Details

    • RatingLimit

      public RatingLimit()
    • RatingLimit

      public RatingLimit(Element element)
  • Method Details