Book a Demo

Author Topic: How to create a constraint across relationships  (Read 2722 times)

nexdev

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
How to create a constraint across relationships
« on: October 01, 2009, 01:30:17 am »
Hi,

I have recently started using EA and I'm having problems trying to create a constraint that applies across 2 relationships on a class diagram.

Eg.

If I wanted to show a Parent class with 2 assocations with a Child class where 1 association had a role of Current and the other had a role of All, I would like to be able to show the constraint that Current was a subset of All.

Hope that makes sense. I haven't been able to find anything in the help that shows how to do this. I have found one page of the online help that shows such a constraint, the subject in the Index is "Relationship, Window, Context Menu", but it doesn't show how to create it.

Thanks

NexDev

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: How to create a constraint across relationship
« Reply #1 on: October 01, 2009, 09:46:24 am »
The topic you need is called Add a Note to a Connector. This encompasses adding constraints to connectors. Try looking for Attach    Note To Link in the index.

Don't worry about the example dialog in the procedure (if it has a blue background; if it has a green background it might actually match the diagram...).

This topic needs a good slap around the chops, and I'm currently administering it. I have added a number of index entries to identify the applicability of the topic to constraints. I'll try to get the changes into the Help for build 849.

Sorry it was so hard to find.

Best Regards, Roy

nexdev

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: How to create a constraint across relationship
« Reply #2 on: October 01, 2009, 07:30:43 pm »
That's great, thanks for such a prompt reply   :)