Clearspace API (2.0.15) Web Services Client Javadocs

com.jivesoftware.community.webservices
Class WSRating

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

public class WSRating
extends java.lang.Object


Constructor Summary
WSRating()
           
 
Method Summary
 boolean equals(WSRating 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

WSRating

public WSRating()
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(WSRating 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.