I see that any persistent entity can have zero or one entity parent.

But is it possible to have classes defined as above, with each child
class instance having the option to have a parent of different type at
run-time like the pseudo-code below?

  Child c1 = new Child();
  ParentA a = new ParentA();
  a.setChild(c1);

  Child c2 = new Child();
  ParentB b = new ParentB();
  b.setChild(c2);

In other words, would c1 have entity group parent a, and c2 have
entity group parent b?

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

Reply via email to