Book a Demo

Author Topic: Can you set multiplicity in the MDG?  (Read 4275 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Can you set multiplicity in the MDG?
« on: October 04, 2019, 03:33:12 pm »
Is there any way to set the multiplicities for a relationship in the MDG?
When one creates an associative relationship (Association, Aggregation, Composition etc.)  you have to set the multiplicities at both ends to fully specify the nature of the relationship.  We'd like to have the ability to set some of the more common multiplicities (perhaps via hidden menu) to save the user having to use multiple mouse/keyclicks to set it up.

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Can you set multiplicity in the MDG?
« Reply #1 on: October 04, 2019, 04:21:44 pm »
Yes, search the help for SourceMultiplicity and/or TargetMultiplicity.
« Last Edit: October 04, 2019, 04:23:20 pm by KP »
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can you set multiplicity in the MDG?
« Reply #2 on: October 04, 2019, 08:33:05 pm »
Yes, search the help for SourceMultiplicity and/or TargetMultiplicity.
Sorry,  I wasn't clear enough, I know how to set those, but those are a single setting per metatype.  I'm after a more dynamic method that allows the user to select the.realtionship type (one-to-many etc.) similar to the BPMN 2.0 Activity subtype.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Can you set multiplicity in the MDG?
« Reply #3 on: October 07, 2019, 09:28:09 am »
Ah, sorry. No I think you'd need an add-in for that: EA_OnPostNewConnector
The Sparx Team
[email protected]