|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.service.cmr.rating.Rating
public class Rating
This struct class holds the essential data of a rating.
Constructor Summary | |
---|---|
Rating(RatingScheme scheme,
float score,
java.lang.String appliedBy,
java.util.Date appliedAt)
|
Method Summary | |
---|---|
java.util.Date |
getAppliedAt()
Gets the time/date at which the rating was applied. |
java.lang.String |
getAppliedBy()
Gets the user name of the user who applied this rating. |
RatingScheme |
getScheme()
Gets the RatingScheme under which the rating was applied. |
float |
getScore()
Gets the score applied as part of this rating. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Rating(RatingScheme scheme, float score, java.lang.String appliedBy, java.util.Date appliedAt)
Method Detail |
---|
public float getScore()
RatingScheme
.
public java.lang.String getAppliedBy()
public java.util.Date getAppliedAt()
public RatingScheme getScheme()
RatingScheme
under which the rating was applied.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |