Jive API (3.0.13) Core Javadocs

com.jivesoftware.community
Interface Rating


public interface Rating

A container object for Ratings. A rating is a flexible way for a user to rate forum messages.

See Also:
RatingManager

Method Summary
 boolean equals(Rating rating)
          Test for equality between two rating objects.
 String getDescription()
          Retrieve the description for the rating.
 int getScore()
          Retrieve the score for the rating.
 

Method Detail

getScore

int getScore()
Retrieve the score for the rating.

Returns:
the score associated with the Rating object.

getDescription

String getDescription()
Retrieve the description for the rating.

Returns:
the description associated with the Rating object.

equals

boolean equals(Rating rating)
Test for equality between two rating objects.

Parameters:
rating - the Rating object to test for equality.
Returns:
true if equal, false otherwise.

Jive Product Page

Copyright © 1999-2007 Jive Software.