com.google.appengine.api.datastore
Class Category
- java.lang.Object
-
- com.google.appengine.api.datastore.Category
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Category>
public final class Category extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Category>
A tag, ie a descriptive word or phrase. Entities may be tagged by users, and later returned by a queries for that tag. Tags can also be used for ranking results (frequency), photo captions, clustering, activity, etc.- See Also:
- Jeffrey Zeldmans blog post on tag clouds for a more in-depth description., Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static long
serialVersionUID
-
Constructor Summary
Constructors Constructor and Description Category(java.lang.String category)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
compareTo(Category o)
boolean
equals(java.lang.Object o)
java.lang.String
getCategory()
int
hashCode()
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public java.lang.String getCategory()
-
compareTo
public int compareTo(Category o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Category>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-