Re: the constraint {xor}



Date view Thread view Subject view Author view

Jos Warmer (J.Warmer@klasse.nl)
Tue, 08 Feb 2000 10:52:26 +0100


Sebastian, Could you draw up (in ascii is ok) the class diagram to which your questions refer ? Jos At 10:19 AM 08-02-00 +0100, GERARD Sebastien 166342 wrote: >Hi every body, > >I need some help about two questions on associations semantics. > >1) If one considers the following class model, what does really mean that >both associations are connected through the constraint {xor}? >My interpretation is : >There are no instances of A which share with an instance of B the use of an >instance of C. >Is it right? > > <<...>> > >2) My second question is about the specification of an OCL statement I have >some trouble to write. I would like to express >that the instance a of A and the instance b of B may share the use of the >instance c of C. >I know I can use collaboration diagram to express this feature. But I would >rather specify a constraint within the class diagram. > >Thanks for your help, > >sincerly yours, > >Sébastien Gérard. > > > >To remove yourself from this list please mail puml-list-request@cs.york.ac.uk >with a message containing the word "unsubscribe". > > > > _____________________________________________________ Klasse Objecten tel : +31 (0)35 6037646 Chalonhof 153 fax : +31 (0)35 6037647 3762 CT Soest email : J.Warmer@klasse.nl The Netherlands internet: http://www.klasse.nl


Date view Thread view Subject view Author view