Hi Jan..
I guess you are referring to the XOR constraint between associations. That
is, there is a link to an instance of one class or another, but not both.
You can show this as a dependency between the two associations. Name the
dependency {xor}.
Note that I used the expression "show" rather than "model" as Rose ignores
this dependency as far as code generation is concerned. It is a visual clue
for the developers only. The attributes will be generated for both
associations (which is correct). You will need to manually manage the code
that ensures the exclusivity.
Best regards,
Huseyin Angay
Karabash Ltd.
www.karabash.co.uk
> ----------
> From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: 19 February 2001 11:05
> To: [EMAIL PROTECTED]
> Subject: (ROSE) XOR-Constraints
>
>
>
>
>
> Hy,
> has anybody an idea to model XOR-Constraints with Rose.
>
> viele Grüße Jan
>
> Jan Binder
> DB AG - Lufthansa Systems AS
> PFI CIO Datenmanagement
> Mainzer Landstr. 222-224
> Telefon 069/265-30690
> Telefax 069/265-30400
> Mobil 0172/4144356
> e-mail [EMAIL PROTECTED]
>
>
> ************************************************************************
> * 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/products/rose/usergroups/rose_forum.jtmpl
> * 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
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************