org.silverpeas.rating
Class RaterRating

java.lang.Object
  extended by org.silverpeas.rating.RaterRating

public class RaterRating
extends Object

Represents the rating data associated to a rater. The rater is represented by a UserDetail


Method Summary
 UserDetail getRater()
          Gets the UserDetail instance that represents the rater.
 ContributionRating getRating()
          Gets the global informations about the rating.
 int getValue()
          Gets the value of the rating of the rater.
 boolean isRatingDone()
          Indicates if the rater has done its rating.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRating

public ContributionRating getRating()
Gets the global informations about the rating.

Returns:
the global rating informations.

getRater

public UserDetail getRater()
Gets the UserDetail instance that represents the rater.

Returns:
the rater of the current instance.

getValue

public int getValue()
Gets the value of the rating of the rater.

Returns:
the rating value of the current instance.

isRatingDone

public boolean isRatingDone()
Indicates if the rater has done its rating.

Returns:
true if the rater has done its rating, false otherwise.


Copyright © 2016 Silverpeas. All Rights Reserved.