Sparx Systems Forum

Discussion => Uml Process => Topic started by: kasiakkasiak on July 26, 2017, 06:48:49 pm

Title: UML Profile to extend table column
Post by: kasiakkasiak on July 26, 2017, 06:48:49 pm
Hi everyone,

I am currently trying to add some default Tagged Values to columns in tables in my datamodell.
I am able to create profile which extends Attributes in "Class" objects, but I am not able to extend colum in a table.
Do you know what metaclasses/elements do I have to use to extend column?
My goal is, that every column in my modell would have some default Tagged Values.

Thanks,
Kasia
Title: Re: UML Profile to extend table column
Post by: qwerty on July 26, 2017, 07:47:49 pm
Try extending EAUML::column  (just a good guess).

q.
Title: Re: UML Profile to extend table column
Post by: kasiakkasiak on July 28, 2017, 12:13:53 am
Thanks for the idea. Unfortunately I've tried it already and it does't work ("Sync Tagged Values and Constraints" does nothing). I also tried to add second stereotype  (like Stereotype: column, myStereotype) but it doesn't work also :/

Is there anyway to add a tagged value to all of the columns in a diagramm at once?
Title: Re: UML Profile to extend table column
Post by: qwerty on July 28, 2017, 04:37:25 am
Not for the existing ones. You need to create your own column stereotype (extending EAUML::column). Once you have that you can add TVs and sync them.

q.