hiho,
Unidirectional associations should be controlled within the package that is
the parent of the the "tail-end" class, the class that has navigability to
the other class. It would be logical to say that if a Person has an
association to Address without bidirectional navigation, then the Person's
package owns the association.
For bidirectional associations you'll just have to pick one of the two
parent packages to own the association.
I once talked about this to Magnus Christensen at Rational and suggested
that the information on each direction could be owned by the parent unit for
each class. So it is Person's responsibility that Person has 0..*
Addresses, and it is Address's responsibility that 0..* Persons live there.
But that seemed like a hassle and who would own things like the name of the
association?
------- b
--
Brian G. Lyons
Number Six Software - Voted Rational's Best Complementary Service Provider
1655 North Fort Myer Drive, Suite 1100
Arlington, VA 22209-3196
http://www.numbersix.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of M�nnig, Olaf
Sent: Tuesday, September 11, 2001 8:40 AM
To: '[EMAIL PROTECTED]'
Subject: (ROSE) Where to put the associations?
Hi, all!
When I have an association between two classes organized in two different
packages, in which package should I put the association?
I cannot understand the system Rose uses to put associations in packages. Is
anyone out there who can explain that? Should I re-organize the
associations?
Background of the question is: when we use controlled units, every once in a
while there is a situation that an association in a package is to be edited,
but cannot, because its spec is in another package. Then it's quite
disgusting that the other package must be checked-out despite nothing shall
be changed there.
Who helps?
Thanks in advance,
Olaf M�nnig
--------------------
Diplom-Informatiker Olaf M�nnig
T-Systems
debis Systemhaus GEI GmbH
Martin-Schmei�er-Weg 18, D-44227 Dortmund
Telefon: +49 (231) 9744 664
Telefax: +49 (231) 9744 600
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************