In the Python API, these just make it easier to serialize to XML. As of right now, there's no added benefit of using these fields other than type safety, but you can probably build this yourself.
On Mon, Aug 9, 2010 at 8:25 AM, Sam E. <[email protected]> wrote: > I'm curious what the benefits are for using a few of the core value > types for Java that are listed here: > > http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Core_Value_Types > > The types I don't see the value in are: "Email", "PhoneNumber", > PostalAddress, "Link", "IMHandle", "Category". > > All of these seem to be purely Strings without any sort of > validation. What's the benefit of using these over just "String"s? > > Thanks, > -Sam Edwards > > -- > 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 > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
