Class RaterRating
- java.lang.Object
-
- org.silverpeas.core.contribution.rating.model.RaterRating
-
public class RaterRating extends Object
Represents the rating data associated to a rater. The rater is represented by aUserDetail
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDetail
getRater()
Gets theUserDetail
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.
-
-
-
Method Detail
-
getRating
public ContributionRating getRating()
Gets the global informations about the rating.- Returns:
- the global rating informations.
-
getRater
public UserDetail getRater()
Gets theUserDetail
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.
-
-