Wojciech Ciesielski wrote:
||> "Funny" idea... What about something like this:
||>
||> User <------ User2Role ----------> Role
||>                  |
||>                  |
||>                  |
||>                  V
||> User <------- User2Office -------> Office
||>
||>
||> User.primaryOffice ----------> User2Role
||>
||> ? ;-)
||>
||
||
||this would already do the trick IMO:
||
||User <------ User2Role ----------> Role
||   |              |
||   |              |
||   |              |
||   |              V
||   L------[1]-> Office

[Ciesielski] So why wont' you make User.primaryOffice pointing to User2Role instead of
Office? You won't have doubled association to Office and won't have to check
if primaryOffice is pointing office with assigned role for this user...




hmm.. very nice idea! never actually considered that

I'll think I'm gonna refactor .. have to think about it a little bit first, but yeah, this is nice

thanks!

-- Wouter


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to