Hi all,
before i spend a lot of time implementing something which might not work
I want to know what the best way is to design something like the following:
In my application a person can have multiple roles, for example a person
can be an "Instructor" and/or a "Coordinator".
Which leads to something like
Role[] person.getRoles(); and
bool person.hasRole("Instructor");
but how do i design something that easily gives me all persons who have
the role of "Instructor"?
Is the best way for this to define a finder in RoleHome? e.g.
roleHome.findByPerson(...)?
well if someony has a working design for this I would like to know how
it looks like...
thnx,
-Alexander.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]