Book a Demo

Author Topic: Use metamodel contraints to disallow self connector  (Read 3596 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Use metamodel contraints to disallow self connector
« on: April 02, 2020, 11:21:49 pm »
Using the obsolete quick linker definition format, you could specify that EA should prevent the user from drawing a connector from an element back to itself by setting the O column to True.

How do you do that with a metamodel constraint?
My theories are always correct, just apply them to the right reality.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Use metamodel contraints to disallow self connector
« Reply #1 on: April 03, 2020, 08:08:10 am »
That functionality hasn't been added to the metamodel constraints.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Use metamodel contraints to disallow self connector
« Reply #2 on: April 03, 2020, 09:19:41 am »
That functionality hasn't been added to the metamodel constraints.
But is IS needed, No?

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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Use metamodel contraints to disallow self connector
« Reply #3 on: April 03, 2020, 10:46:39 am »
My personal opinion is that it would be nice, but it's not needed if you have any trust in your modellers.

I would prefer to wait and eventually have a solution that could eventually handle some other interesting constraints than a rushed one that caters for just one constraint.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Use metamodel contraints to disallow self connector
« Reply #4 on: April 03, 2020, 11:18:59 am »
My personal opinion is that it would be nice, but it's not needed if you have any trust in your modellers.

I would prefer to wait and eventually have a solution that could eventually handle some other interesting constraints than a rushed one that caters for just one constraint.
I didn't say it was needed NOW  ;)

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

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Use metamodel contraints to disallow self connector
« Reply #5 on: April 03, 2020, 08:45:14 pm »
My personal opinion is that it would be nice, but it's not needed if you have any trust in your modellers.

This is sophistry. If all modellers knew the metamodels for UML and any extensions perfectly, and if no one ever made any kind of mistake when using a GUI, and if software could read minds and always present the most relevant option at the top of the list -- but that's not the world we live in.

EA used to support the prohibition of self connectors. It no longer does. I'd bet good money on that being omitted not based on a determination that the function is no longer needed, but simply because it was forgotten, or deemed too hard to do.

Quote
I would prefer to wait and eventually have a solution that could eventually handle some other interesting constraints than a rushed one that caters for just one constraint.

Not rushing to market an incompletely analyzed, poorly put together, undocumented solution which paying users have to beta test is a fine sentiment.
My theories are always correct, just apply them to the right reality.