Author Topic: UML Profile to extend table column  (Read 5273 times)

kasiakkasiak

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
UML Profile to extend table column
« 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

qwerty

  • EA Guru
  • *****
  • Posts: 13547
  • Karma: +395/-300
  • I'm no guru at all
    • View Profile
Re: UML Profile to extend table column
« Reply #1 on: July 26, 2017, 07:47:49 pm »
Try extending EAUML::column  (just a good guess).

q.

kasiakkasiak

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: UML Profile to extend table column
« Reply #2 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?

qwerty

  • EA Guru
  • *****
  • Posts: 13547
  • Karma: +395/-300
  • I'm no guru at all
    • View Profile
Re: UML Profile to extend table column
« Reply #3 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.