Author Topic: Stereotypes assigned to an item/object  (Read 2905 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1073
  • Karma: +28/-8
    • View Profile
Stereotypes assigned to an item/object
« on: June 05, 2019, 06:00:48 pm »
Could somebody please remind me where about does Sparx EA store the stereotypes associated with an item/object when the item/object has more than one stereotype associated with it? t_object.stereotype does not appear to be only place. The reason for the question is that, after and import, I have 2 items/objects with 3 stereotypes associated, 2 of which don't seem to go away no matter what I do.

Also how do I remove unwanted stereotypes from t_stereotype?


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13202
  • Karma: +549/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Stereotypes assigned to an item/object
« Reply #1 on: June 05, 2019, 06:16:08 pm »

t_xref
where xref.name = Stereotypes'
and xref.Client = item.ea_guid


Geert

timoc

  • EA User
  • **
  • Posts: 201
  • Karma: +14/-0
    • View Profile
Re: Stereotypes assigned to an item/object
« Reply #2 on: June 05, 2019, 06:19:47 pm »
Could somebody please remind me where about does Sparx EA store the stereotypes associated with an item/object when the item/object has more than one stereotype associated with it? t_object.stereotype does not appear to be only place. The reason for the question is that, after and import, I have 2 items/objects with 3 stereotypes associated, 2 of which don't seem to go away no matter what I do.

Also how do I remove unwanted stereotypes from t_stereotype?
You can manually use the Configure->UML type dialog. I think you have to remove or disassociate elements from the type before you can delete it.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1073
  • Karma: +28/-8
    • View Profile
Re: Stereotypes assigned to an item/object
« Reply #3 on: June 05, 2019, 06:26:33 pm »

t_xref
where xref.name = Stereotypes'
and xref.Client = item.ea_guid


Geert
Of course!!!  Thanks Geert.

You can manually use the Configure->UML type dialog. I think you have to remove or disassociate elements from the type before you can delete it.
This is the 1st thing I tried and it does not appear to work, they keep reappearing even when I don't seem to have any items/associated with them (although I have not checked the full repository).