While not a visual solution, in addition to the 
suggestion below, you can enter a constraint 
specification in the definition of the association. 
Open the specification dialog of the associations and 
look at the detail tab for a place to enter a textual 
rule. You can put in anything from free form text to 
structured OCL syntax. Rose does not use this field in 
any generations either, but it is a way of storing in a 
field the constraint that is easily accessible from 
SoDA or other reporting mechanisms rather than 
traversing a diagram.

Just another suggestion to augment the one below.

Pete

Quoting "Buhtz, Greg" <[EMAIL PROTECTED]>:

> 
> Jo�o,
>
> Rose does not support this directly, but you can draw 
this on a diagram
> using a workaround. The steps are:
> 1. Draw the association from Human to Man.
> 2. Draw the association from Human to Woman.
> 3. Select the Note-Anchor "- - - - - -" and draw from 
the center of the
> first association line to the center of the second 
association line.
> 4. Select the "ABC" tool and add a text label to the 
diagram with the text
> "{xor}".
>
> Yours,
>    Greg Buhtz
>
> -----Original Message-----
> From: Jo�o Paulo Marto Pereira 
[mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 24, 2002 8:55 AM
> To: [EMAIL PROTECTED]
> Subject: (ROSE) Two associations linked with or
>
>
>
> Hi
>
> I've got three classes. Lets call the Human, Man 
Woman. I know a could
> derive human and woman out of human. But I want to 
say that a human is
> associated with Man OR with woman. But never with 
both. There is a notation
> for that in the UML User Guide. Can Rose solve this 
problem??
>
> Thanks in advance...
>
> Jo�o Marto
> 
********************************************************
****************
> * Rose Forum is a public venue for ideas and 
discussions.
> * For technical support, visit 
http://www.rational.com/support
> *
> * Post or Reply to: [EMAIL PROTECTED]
> * Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> *    
http://www.rational.com/support/usergroups/rose/rose_for
um.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *    To: [EMAIL PROTECTED]
> *    Subject: <BLANK>
> *    Body: unsubscribe rose_forum
> 
********************************************************
*****************
> 
********************************************************
****************
> * Rose Forum is a public venue for ideas and 
discussions.
> * For technical support, visit 
http://www.rational.com/support
> *
> * Post or Reply to: [EMAIL PROTECTED]
> * Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> *    
http://www.rational.com/support/usergroups/rose/rose_for
um.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *    To: [EMAIL PROTECTED]
> *    Subject: <BLANK>
> *    Body: unsubscribe rose_forum
> 
********************************************************
*****************
> 

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* 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
*************************************************************************

Reply via email to