Author Topic: EAUML::table vs Table metaclass ?  (Read 2213 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1374
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
EAUML::table vs Table metaclass ?
« on: August 01, 2025, 06:11:25 pm »
Hi,

Working on metacontraint and quicklinker definitions within a custom MDG to link stereotyped classes with data modelling tables (db reverse), I noticed EA has 2 similar types matching the tables: a table metaclass and an EAUML::table built-in stereotype.
I looked at the content of existing db reverse models, and the elements use the EAUML::table stereotype.

I wonder what is the purpose of the table metaclass which has constraints e.g. I cannot link stereotyped dependencies from a class to them.
EA seems to confuse them as when I use the Quicklinker to create a table, it tries to create a table element instead of a EAUML::table element, leading to an "invalid combination of source and target types" error. I remember having similar issues with enumeration classes with different behaviours and the need to use enumeration stereotyped classes.

I'm interested in any feedback from Sparx on this.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: EAUML::table vs Table metaclass ?
« Reply #1 on: August 04, 2025, 08:43:02 am »
There is no Table metaclass.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1374
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: EAUML::table vs Table metaclass ?
« Reply #2 on: August 04, 2025, 06:05:19 pm »
Hi Eve,

Creating a metaclass from a Profile diagram, I can select Table in from Core Elements list. Does it match something else in EA that doesn't have anything to do with Data Modelling ?
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com