Author Topic: Profile Constraint for multiplicity  (Read 3952 times)

DASHBY88

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Profile Constraint for multiplicity
« on: January 16, 2024, 10:26:48 pm »
I was wondering if there is a way to constrain a developed MDG profile to restrict the number of relationships that can be created between Stereotypes.

As far as I can tell there is not at least without using Addins but would love to not.

For example (bad), a <<Level2>> Requirement may only be derived from a single <<Level1>> requirement.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13295
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Profile Constraint for multiplicity
« Reply #1 on: January 16, 2024, 11:16:08 pm »
No, not easily; at least not when working with connectors.

You could do that easily if you replaced the connector with a tagged value reference.
That is guaranteed to be limited to a single element.

Another way would be to use the classifier/instance relation (less applicable in this case I guess)

Geert

DASHBY88

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Profile Constraint for multiplicity
« Reply #2 on: January 19, 2024, 08:00:40 pm »
Thank you for confirming my thoughts Geert.