Book a Demo

Author Topic: Xor-association  (Read 4474 times)

lelik

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Xor-association
« on: May 31, 2002, 01:11:47 am »
Hi

I try to do xor-association and found no method to do that :(

It's bug or feature?

In OMG-UML , v1.4 it describes as:



Quote
3.42.5.1 Xor-association
An xor-constraint indicates a situation in which only one of several potential associations may be instantiated at one time for any single instance. This is shown as a dashed line connecting two or more associations, all of which must have a classifier in common, with the constraint string “{xor}” labeling the dashed line. Any instance of the classifier may only participate in one of the associations at one time. Each
rolename must be different. (This is simply a predefined use of the constraint notation.)



MikeAtLimit

  • Guest
Re: Xor-association
« Reply #1 on: May 31, 2002, 01:48:44 am »
There does not appear to be a predefined element for this, but you can use the Attach Note or Constraint... (in the context menu) on one or more associations.  This is implemented as a Note in which you can enter details of you XOR Constraint