the constraint {xor}



Date view Thread view Subject view Author view

GERARD Sebastien 166342 (GERARD@ortolan.cea.fr)
Tue, 8 Feb 2000 10:19:46 +0100


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.


Date view Thread view Subject view Author view