Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Guillaume on August 01, 2025, 06:11:25 pm

Title: EAUML::table vs Table metaclass ?
Post by: Guillaume 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.
Title: Re: EAUML::table vs Table metaclass ?
Post by: Eve on August 04, 2025, 08:43:02 am
There is no Table metaclass.
Title: Re: EAUML::table vs Table metaclass ?
Post by: Guillaume 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 ?