Clearspace API (1.10.16) Web Services Client Javadocs

com.jivesoftware.community.webservices
Class TagCount

java.lang.Object
  extended by com.jivesoftware.community.webservices.TagCount
All Implemented Interfaces:
java.io.Serializable

public class TagCount
extends java.lang.Object
implements java.io.Serializable

Container for tag and its count.

See Also:
Serialized Form

Constructor Summary
TagCount()
           
TagCount(java.lang.String name, int uses)
          Creates a new Tag
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
          Returns the name of the tag.
 int getUses()
          Returns the number of times the tag is used.
 int hashCode()
           
 void setName(java.lang.String name)
          Sets the name of the tag.
 void setUses(int uses)
          Sets the number of times the tag is used.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagCount

public TagCount()

TagCount

public TagCount(java.lang.String name,
                int uses)
Creates a new Tag

Parameters:
name - the name of the tag.
uses - the number of times the tag is used.
Method Detail

getName

public java.lang.String getName()
Returns the name of the tag.

Returns:
the name of the tag.

setName

public void setName(java.lang.String name)
Sets the name of the tag.

Parameters:
name - the name of the tag.

getUses

public int getUses()
Returns the number of times the tag is used.

Returns:
the number of times the tag is used.

setUses

public void setUses(int uses)
Sets the number of times the tag is used.

Parameters:
uses - the number of times the tag is used.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Clearspace Project Page

Copyright © 1999-2007 Jive Software.