No. Java is a typed language. You can only pass subclasses of com.google.appengine.api.datastore.Entity to a function which accepts com.google.appengine.api.datastore.Entity. Anything else won't compile.
0
votes
No, the entity annotation doesn't change the type of the object. There is no "getProperty" in objectify but you could certainly use reflection or commons BeanUtils to do a similar thing.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more