You're almost always going to want to use String. The specific property
types have very weak validation (basically not null) but have been known to
cause issues. They were introduced to make serialization to XML easier, but
very few developers actually care about this feature.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Tue, Jan 25, 2011 at 12:37 AM, ale <[email protected]> wrote:

> Hi,
> What are the advantage of data type like PhoneNumber o Email (
> http://code.google.com/intl/it-IT/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types
> )?
>
> For example if I have to store an email, why I should prefer en email type
> instad a simple String?
>
> Thanks
> Ale
>
> --
> 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.
>

-- 
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.

Reply via email to