Book a Demo

Author Topic: Support for multiplicity on operation parameters  (Read 2808 times)

ckesselh

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • So long, and thanks for all the fish!
    • View Profile
Support for multiplicity on operation parameters
« on: September 04, 2007, 01:25:18 pm »
Hello everybody!

According to the UML 2.1 Infrastructure Specification, Parameters for Class Operation's should (on the meta-model-level) inherit from MultiplicityElement and thus support the isOrdered, isUnique, lower and upper attributes on each instance of that meta-class.

Although other UML2 implementations (such as the Eclipse UML2 EMF model) seem to comply with the specification in that respect, I myself can't find a way to do something similar in Enterprise Architect - that is e.g. specify a lower/upper bound on an operation's parameter via the application's existing graphical user-interface. I find this to be rather inconsistent, especially since multiplicity seems to be correctly supported on other UML meta-classes that extend MultiplicityElement in much the same way, such as Property.

Also, this gives me some trouble for my openArchitectureWare-based MDA-transformations, as I e.g. need to create a XXXList resp. XXXSet class for every other class XXX from my model that I want to support as a parameter of another class operation (with >1 instance of XXX being passed-in at the same time).

Am I missing something, here? ???

Thanks in advance,

Chris

thomaskilian

  • Guest
Re: Support for multiplicity on operation paramete
« Reply #1 on: September 05, 2007, 12:34:16 pm »
Hi Chris,
although this is far to special for me to answer: if you can refer the section in superstructures then you could send a bug report to Sparx.

Would be nice to update this thread with responses later on.