There isn't a large difference between using Category objects versus simple
Strings. There is a semantic distinction -- a String doesn't necessarily
have to represent a tag -- and Category objects may make it easier to add a
restriction on accepted tag values when arbitrary tags aren't supported, but
this can also be accomplished using Strings, so it's the semantic
distinction more than anything.

- Jason

On Tue, Oct 20, 2009 at 8:09 PM, Max Zhu <thebb...@gmail.com> wrote:

> Hi Rusty,
>
> Thanks for your reply. I know that is a tag, but what I am looking for is
> how to implement using GAE.
>
> Hi Jason,
>
> I can not make my question more specific because I totally have no idea on
> it. :)
>
> Can I say we just simply put a Set<Category> to an Entity? Then how can I
> make use of it when making a global search? Shall we iterate through every
> Set<Category>? If that's the case, then what's the difference between
> Set<Category> and Set<String> ?
>
> Regards,
> Max
>
>
> On Wed, Oct 21, 2009 at 1:23 AM, Jason (Google) <apija...@google.com>wrote:
>
>> Hi Max. This is currently the only reference available:
>>
>>
>> http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Category.html
>>
>> Do you have any specific questions around it?
>>
>> - Jason
>>
>>
>> On Sat, Oct 17, 2009 at 10:02 AM, Max <thebb...@gmail.com> wrote:
>>
>>>
>>> I am not able to find a good reference on:
>>> com.google.appengine.api.datastore.Category
>>>
>>> Thanks
>>> Max
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to