Category (Google App Engine API for Java)

Class Category

  • java.lang.Object
  • All Implemented Interfaces:, java.lang.Comparable<Category>

    public final class Category
    extends java.lang.Object
    implements, 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

      Modifier and Type Field and Description
      static long serialVersionUID 
    • Constructor Summary

      Constructor and Description
      Category(java.lang.String category) 
    • Constructor Detail

      • Category

        public Category(java.lang.String category)
    • Method Detail

      • getCategory

        public java.lang.String getCategory()
      • compareTo

        public int compareTo(Category o)
        Specified by:
        compareTo in interface java.lang.Comparable<Category>
      • equals

        public boolean equals(java.lang.Object o)
        equals in class java.lang.Object
      • hashCode

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