Class Rating


  • public class Rating
    extends Object
    This struct class holds the essential data of a rating.
    Since:
    3.4
    Author:
    Neil McErlean
    • Method Detail

      • getScore

        public float getScore()
        Gets the score applied as part of this rating. In normal circumstances a score should always lie within the bounds defined by the RatingScheme.
        Returns:
        the score.
      • getAppliedBy

        public String getAppliedBy()
        Gets the user name of the user who applied this rating.
        Returns:
        the user who applied the rating.
      • getAppliedAt

        public Date getAppliedAt()
        Gets the time/date at which the rating was applied.
        Returns:
        the date/time at which the rating was applied.
      • getScheme

        public RatingScheme getScheme()
        Gets the RatingScheme under which the rating was applied.
        Returns:
        the rating scheme used for this rating.