This content has been marked as final.
Show 2 replies
-
1. Re: CMP2 and relationship handling
giough Jul 19, 2002 2:32 PM (in response to jocsch)How about a setOrganization(OrganizationLocal) method inside the the user entity?
-
2. Re: CMP2 and relationship handling
alice Jul 19, 2002 3:30 PM (in response to jocsch)>I wonder if it is possible to have a method like
>setUser(UserLocal). Or how can I add a single user? The >only possiblity I see in the moment is to get all Users, >add the new user to the collection and set the whole >thing ....
>Is this the way things work?
Yes.. have a method addUser(..) and inside that do getUsers().add(..)