Book a Demo

Author Topic: Identifying Custom Stereotypes  (Read 4272 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Identifying Custom Stereotypes
« on: June 27, 2022, 01:24:35 pm »
Its it possible to determine (e.g. from UMLTypes > Stereotypes) which are 'custom stereotypes' and which are default (OOTB) stereotypes?


thanks in advance

Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Identifying Custom Stereotypes
« Reply #1 on: June 27, 2022, 04:59:42 pm »
Anything in that dialogue is *wild* and you would use it only for testing (shapescipt) purpose. It should be banned elsewise but that will never come. Real stereotypes are from profiles. And that connection is only recognizable via t_xref (the weirdest place possible).

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Identifying Custom Stereotypes
« Reply #2 on: June 27, 2022, 05:02:42 pm »
There are some that come standard Out of the box I think. You can know by creating a new empty model.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Identifying Custom Stereotypes
« Reply #3 on: June 27, 2022, 05:29:10 pm »
There are some that come standard Out of the box I think. You can know by creating a new empty model.

Geert
Would you mind to tell what you understand with standard?

q.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Identifying Custom Stereotypes
« Reply #4 on: June 27, 2022, 05:38:54 pm »
The out of the box stereotypes are in the base models found in C:\Program Files (x86)\Sparx Systems\EA. i.e. EABase.eap, eapx, feap files.
You can simply create a new one as Geert suggests then look at the list via configure tab>UML Types to see the standard stereotypes.
You can do a simple query on table "Select * from t_stereotypes" of that model DB to ID the "Standard OOTB" stereotypes and then create a table in your model of interest with those and import the standard list into your working model. Then do query to cross referencing the stand stereotypes with those in t_stereotypes to ID the custom stereotypes.

Easy peasy if you use an eapx file with MS Access or SQL Server with SQL Studio.

Noting that you could interpret OOTB to include the standard MDG's provided with Sparx EA located in C:\Program Files (x86)\Sparx Systems\EA\MDGTechnologies and that would require a slightly more complex query with stereotypes.VisualType. Where VisualType has entries like "TechID=ArchiMate2;Profile=959A9A49-8;" on which you could do some kind of filter.

Hope that helps.
« Last Edit: June 27, 2022, 05:46:57 pm by Sunshine »
Happy to help
:)