Clearspace API (1.10.14) Web Services Client Javadocs

com.jivesoftware.community.webservices
Class Rating

java.lang.Object
  extended by com.jivesoftware.community.webservices.Rating

public class Rating
extends java.lang.Object


Constructor Summary
Rating()
           
 
Method Summary
 boolean equals(Rating rating)
          Test for equality between two rating objects.
 java.lang.String getDescription()
          Retrieve the description for the rating.
 int getScore()
          Retrieve the score for the rating.
 int hashCode()
           
 void setDescription(java.lang.String description)
           
 void setScore(int score)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rating

public Rating()
Method Detail

getScore

public int getScore()
Retrieve the score for the rating.

Returns:
the score associated with the Rating object.

getDescription

public java.lang.String getDescription()
Retrieve the description for the rating.

Returns:
the description associated with the Rating object.

equals

public 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.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setDescription

public void setDescription(java.lang.String description)

setScore

public void setScore(int score)

Clearspace Project Page

Copyright © 1999-2007 Jive Software.