Book a Demo

Author Topic: List of unknown StereoTypes in project  (Read 4204 times)

steen.jensen

  • EA User
  • **
  • Posts: 181
  • Karma: +8/-1
    • View Profile
List of unknown StereoTypes in project
« on: February 13, 2019, 04:13:14 am »
We are using Archimate 3 mostly and MS-SQL repository.
In the listbox of UML Types there are about 20 different stereoType of Archimate (Archimate, Archimate2, Archimate3)
when I using an new empty Project (EAP-file) there is no Archimate stereotypes, even when I hav a large Archima model loaded there.

Are the 20+ archimate based StereoTypes some indication that someting is not correct or some people is doing some strange tings??

We don't normaly do any new StereroType in ouer models, As I know about

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: List of unknown StereoTypes in project
« Reply #1 on: February 13, 2019, 07:55:09 am »
I have none in my production repo with a large Archimate 3 model in it.  If you are really worried clone your repo and delete them and see what happens.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: List of unknown StereoTypes in project
« Reply #2 on: February 13, 2019, 09:41:28 am »
We are using Archimate 3 mostly and MS-SQL repository.
In the listbox of UML Types there are about 20 different stereoType of Archimate (Archimate, Archimate2, Archimate3)
when I using an new empty Project (EAP-file) there is no Archimate stereotypes, even when I hav a large Archima model loaded there.
Kind of confusing. Is it empty or does it have a large ArchiMate model loaded?

Usually the stereotypes are stored in t_stereotypes for the model. These are pre-canned stereotypes. The technology stereotypes like archimate stereotypes are defined in the MDG and the objects store the stereotype used in an attribute is of table t_object.
As far as I can remember the UML Types you can see are from t_stereotypes.
I think the list for options for stereotypes in an object is a combo from the t_stereotypes and the stereotype attribute in t_object.

Are the 20+ archimate based StereoTypes some indication that someting is not correct or some people is doing some strange tings??
We don't normaly do any new StereroType in ouer models, As I know about
Who know they may be doing weird stuff.

You can run the following SQL from search SQL scratch pad to see a count of stereotypes used by objects and see if anything is out of place
Code: [Select]
Select t_object.stereotype,  t_object.Object_Type,  Count(t_object.Object_ID) from t_object group by t_object.Stereotype, object_type order by  stereotype, object_type 
To see the list in the model run this SQL to see those listed in t_stereotypes
Code: [Select]
Select * from t_stereotypes
If you see anything odd then you can change the stereotype manually or do it using a script like the JScript I published somewhere on this forum. Search for bulk stereotype changes.

Happy to help
:)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: List of unknown StereoTypes in project
« Reply #3 on: February 13, 2019, 05:39:15 pm »
There should be no ArchiMate stereotypes in the "UML types" list.
These stereotypes are somehow created automatically when
- people type in a stereotype with a spelling error
- when importing without having the correct MDG's enabled (I suspect)

The first problem can be avoided by enabling security and denying the ability to "manage stereotypes".
That will stop people from being able to type in a stereotype.

Anyway, you should delete all the "MDG" stereotypes you find in the UML types list. This will not hurt the existing elements in any way, but it prevents them from being used in the future.

Geert

steen.jensen

  • EA User
  • **
  • Posts: 181
  • Karma: +8/-1
    • View Profile
Re: List of unknown StereoTypes in project
« Reply #4 on: February 17, 2019, 11:10:38 am »
Thanks  :)