Book a Demo

Author Topic: Conditional relationship  (Read 2908 times)

Lalit Mahajan

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Conditional relationship
« on: January 13, 2020, 09:30:07 pm »
Hi,

I am trying to create a domain model with conditional relationship as follows.

Either B or C can aggregate to A.

Is there a way to create conditional (OR) relationship between A and B,C?
« Last Edit: January 13, 2020, 11:01:58 pm by Lalit Mahajan »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Conditional relationship
« Reply #1 on: January 14, 2020, 12:44:40 am »
Yes. Right-click one of the connectors. Attach Note or Constraint. Choose Constraint from the radio button and also select the 2nd connector (both need to be visible on the diagram). Enter "XOR" or some more lenghty text to describe the situation and you're done.

q.

Lalit Mahajan

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Conditional relationship
« Reply #2 on: January 14, 2020, 05:05:09 pm »
Thank you Guru  :)