[appengine-java] Relationship Problems...

2009-11-17 Thread bvkimball
I have read a lot of posts with people having trouble with accessing the child objects of their parent but i haven't found a solution to my problem. So i want to have Shared objects per Users. Such as: public class User { private Key key; private String name; private String email;

Re: [appengine-java] Relationship Problems...

2009-11-17 Thread Rusty Wright
You could have a class UserProject class UserProject { private Key userKey; private Key projectKey; } Then make User.projects a ListProject and fill it with their projects right after you fetch the User (and coat it with Collections.unmodifiableList() as a reminder that it should be