Stand it on its head; instead of User having a Collection of Skill, Skill has a 
Collection of User Keys (ignoring the levels part).  For the Level, add a layer 
of nesting; Skill has a Collection of Level, and each Level has a Collection of 
User Keys.


reini77 wrote:
> Hi,
> 
> I'm trying to implement the following scenario and I can't get my head
> round how to implement it.
> 
> Assume we get a list of user profiles where each profile can have a
> set of skills. Each skill is defined by a name (or reference to an
> entity with more information) and an experience level.
> Now I want to query a list of user profiles which match some skills
> with a minimum level required.
> 
> Example:
> Get a list of all users which are have high experience in Java (skill
> name="Java", at least level=5) and some experience in AppEngine (skill
> name="AppEngine", at least level=1)
> 
> I was about to model a class "UserProfile" which holds a set of
> "UserSkill" objects. "UserSkill" class has a name and a level (and
> some additional infos). But I can't think of a way how to do the query
> in GAE...
> 
> Thanks a lot
> Reini
> 
> --
> 
> 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.
> 
> 

--

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.


Reply via email to