Hi,

I have an entity called UserAccount. This has a list of another entity
called Kiosk. However, this

public class UserAccount implements JsonBean {

        public static enum Type {
                KIOSK_OWNER, SUPPLIER, DISTRIBUTOR, ADMIN, SERVICE_MANAGER
        };

        public static enum Gender {
                MALE, FEMALE
        };

        public static enum AgeType {
                BIRTHDATE, AGE
        };

        @PrimaryKey
        @Persistent
        private String userId;

                --------

        // non-persistent derived fields
        private List<Kiosk> kiosks;

I have 3 entities - kiosks, users and poolgroups.
There is a mxn (many to many) relationship between users and kiosks.
Also, there is a mxn relationship between kiosks and poolgroups.

A user is associated with multiple kiosks.
A kiosk is associated with m
--~--~---------~--~----~------------~-------~--~----~
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