I should be able to help... what are you trying to do? to use a predefined type that is storable in the datastore (http:// code.google.com/appengine/docs/java/datastore/ dataclasses.html#Core_Value_Types)
all you do is cast that property so.. Entity entity = new Entity("myKind"); Email myEmail = new Email("g...@email.com"); entity.setProperty("emailProperty", myEmail); Key key = datastore.put(entity); to get it back just cast it Entity storedEntity = datastore.get(key); Email storedEmail = (Email) storedEntity.getProperty("emailProperty"); they also appear to implement Comparable interface, so you can compare these things... is there anything more specific you need? Tristan On Apr 9, 4:31 am, Fred Janon <fja...@gmail.com> wrote: > Hi, > > Are there any examples on how to use the low level data store API, > other than the short example on the Javadoc? Especially on how to use > the predefined types like email, GeoPt, address... Is the source code > available for these objects? I am interested in the compare method for > these objects. > > Thanks > > Fred -- 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-j...@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.