Book a Demo

Author Topic: custom tagged values for stereotype "table"  (Read 3730 times)

spinky

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
custom tagged values for stereotype "table"
« on: October 06, 2015, 09:39:03 pm »
Hello,

I need to add custom tagged values to table and its column. I have my own profile defined with "my_table" stereotype with these tagged values, it works well. When I set on a class both stereotypes (table and my_table), it has both table and my_table tagged values, but I can't see it in Database Builder.
I tried to add tagged values directly to "table" stereotype using a profile, but it didn't work - no custom tagged values were added.

Is there a way to add custom tags to table?

Thank you for any answer

Petr Spinky Pribyl

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: custom tagged values for stereotype
« Reply #1 on: October 06, 2015, 09:53:22 pm »
Actually I don't know in this specific case. But I know that EA handles <<table>> (and the other DB stuff) internally with special code which is not accessible from outside. Maybe one of the Sparxians can help.

q.
« Last Edit: October 06, 2015, 09:53:43 pm by qwerty »

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: custom tagged values for stereotype "table"
« Reply #2 on: October 06, 2015, 10:12:48 pm »
Hi Petr,

If you create your own UML profile you can extend existing stereotypes. When you specify the metaclass to extend, the metaclass selection dialog has a tab "Stereotypes" where you can select an installed profile (EAUML in this case) and then a stereotype to extend (table and column).

This should allow you to add tagged values to tables and columns, while still allowing EA to recognize them as its own. I haven't tried it myself, but it should work.

/Uffe
My theories are always correct, just apply them to the right reality.

spinky

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: custom tagged values for stereotype "table"
« Reply #3 on: October 07, 2015, 03:55:31 pm »
Thank you for the answers. It stil does not work. It seems the solution works only for non-UML objects. I will ask sparx support