Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: DASHBY88 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.
-
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
-
Thank you for confirming my thoughts Geert.