Class: AppEngine::Datastore::Category
- Inherits:
-
String
- Object
- String
- AppEngine::Datastore::Category
- Defined in:
- lib/appengine-apis/datastore_types.rb
Overview
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.
More details: www.zeldman.com/daily/0405d.shtml
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.new_from_java(category) ⇒ Object
141 142 143 |
# File 'lib/appengine-apis/datastore_types.rb', line 141 def self.new_from_java(category) self.new(category.getCategory) end |
Instance Method Details
#to_java ⇒ Object
137 138 139 |
# File 'lib/appengine-apis/datastore_types.rb', line 137 def to_java JavaDatastore::Category.new(java.lang.String.new(self)) end |