Book a Demo

Author Topic: Fix Multiplicity and Cardinality, once and for all!  (Read 8624 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Fix Multiplicity and Cardinality, once and for all!
« on: December 12, 2018, 12:42:03 pm »
Can we please fix Multiplicity and Cardinality once and for all?

Multiplicity refers to the potential range of set membership and thus is expressed as a range 0..*, 2..4, 1..1 (reduced to 1).  Cardinality refers to the actual number of items in a specific set.  For example, a motor vehicle may have a multiplicity of 1..20 wheels.  This (specific) vehicle has a cardinality of 6 wheels.

The t_object table has two columns "Multiplicity" and "Cardinality".  In typical EAUI, you can ONLY get at the Cardinality via the Element | Properties | Details page and you can ONLY get at Multiplicity via the Element | Properties | Advanced window.  Further, the Cardinality property in the UI is restricted to the values in the Configure | Reference Data | UML Types | Cardinality Values dialog - which is incorrectly named (should be Multiplicity value), whereas the Multiplicity property is NOT. Finally (I've only looked so far...) in the Shapescript Element properties, we have Multiplicity, but NOT Cardinality!  Similarly in the Element Class of the EA Object model!

We are intending to make our Shapescripts react to the Multiplicity value (see ...), so it's fortunate that it's currently available!

Please, can this be fixed and made consistent?

It might be argued that Cardinality doesn't have a place in an Element, but I can see uses therefore - so long as I can specify it correctly (that is, WITHOUT restriction to - or reference to - the Cardinality (Multiplicity) Values).

Reported,
Paolo

PS: This may be a record (in over a decade of reporting bugs for EA)!  Seven bugs for on issue!
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #1 on: December 12, 2018, 05:43:58 pm »
A bet a bottle of beer against a Beetle that it won't be fixed in 5 years.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #2 on: December 12, 2018, 08:57:17 pm »
A bet a bottle of beer against a Beetle that it won't be fixed in 5 years.

q.
Not gonna take you up on that!

I posted mainly to see if in 10 years "is still brok" (Italglish for Broken).  It's been brok for the last 10 years, I'm sure.

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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #3 on: December 12, 2018, 10:13:07 pm »
There are quite a number of ruins in EA that should have been demolished. Unlike medieval castles these ruins are not pleasant to look at :-/

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v15.2 - Fix Multiplicity and Cardinality, once and for all!
« Reply #4 on: September 03, 2020, 08:23:39 pm »
A bet a bottle of beer against a Beetle that it won't be fixed in 5 years.

q.
Since I didn't take you up on this, you don't get the bottle of beer!

Today, I spent an interesting (in the Chinese sense) couple of hours trying to get a VBScript script to react to either the Cardinality or Multiplicity for a vertex.

I can set the Cardinality via the UI ([Alt+Enter| Details] but I can't get at it via the API!  I can retrieve the Multiplicity via the API, but as far as I can tell, I can't set it via the UI.  I'm sure there is a rationale for this, but I suspect not in this universe!

FIX IT!

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

MichaelJ

  • EA User
  • **
  • Posts: 77
  • Karma: +14/-7
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #5 on: September 04, 2020, 05:51:34 am »
There are quite a number of ruins in EA that should have been demolished. Unlike medieval castles these ruins are not pleasant to look at :-/
Ha Ha Ha!! The "kings" of old fared sumptuously on commoner's paid subscriptions to frolick in the EA gardens -- what do "commoners" know about "good quality design"? Now, since the passing of stalwarts named "Consistency", "Excellency", and "Design", the gardens have been laid bare. Ravaged by unteachable "ruin-makers". Now, behold! Before us lie The Unsightly Ruins. Turn your eyes, lest they burn!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #6 on: September 04, 2020, 09:50:04 am »
There are quite a number of ruins in EA that should have been demolished. Unlike medieval castles, these ruins are not pleasant to look at :-/
Ha Ha Ha!! The "kings" of old fared sumptuously on commoner's paid subscriptions to frolick in the EA gardens -- what do "commoners" know about "good quality design"? Now, since the passing of stalwarts named "Consistency", "Excellency", and "Design", the gardens have been laid bare. Ravaged by unteachable "ruin-makers". Now, behold! Before us lie The Unsightly Ruins. Turn your eyes, lest they burn!
Michael, what prose!  I've copied it and with a minor change[1] placed it above my desk...

Paolo

[1] "Avert your eyes, lest they burn!"
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #7 on: September 04, 2020, 10:11:05 am »
Beyond my possibilities. I probably couldn't write that in German.

Unfortunately ruins don't burn. Their wood has been rotten away eons ago. Using trebuchets seems more appropriate.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #8 on: September 04, 2020, 10:14:23 am »
Further to the original support request, the Cardinality is a Combo box, but it will only store the value if you select from the drop-down.  Even if you type the value of a cardinality, in the list (which is actually a list of multiplicities ), it is NOT stored!  In fact, the current value is Nulled!

I did not avert my eyes, and they got burned!       (with a "nod" to MichaelJ)

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

MichaelJ

  • EA User
  • **
  • Posts: 77
  • Karma: +14/-7
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #9 on: September 04, 2020, 08:07:20 pm »
...[1] "Avert your eyes, lest they burn!"
Thank you. "Avert" is a more apt in this context  :D . Now your reward: I offer up my villagers, their goods and their labours for your pleasure -- but only for a single day, they have been offered to another for tomorrow's reward.


...Using trebuchets seems more appropriate.
;D ;D ;D Your description is amusing: trebuchets lobbing rocks (bug requests?) at EA "ruins".


...Reported, ...
Hopefully the development team will be able to fix this bug (and a plethora of others).

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Fix Multiplicity and Cardinality, once and for all!
« Reply #10 on: September 04, 2020, 08:33:37 pm »
(bug requests?)
I must not ask for more bugs, I guess. I don't know what kind of rocks would be most appropriate. In middle ages they also used to throw people that had died on the pest.

q.