Author Topic: Fetching available stereotypes for objecttype  (Read 1754 times)

meeert

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Fetching available stereotypes for objecttype
« on: October 18, 2022, 01:35:09 am »
Hello,

I'm looking for a way to fetch every available stereotype for each available objecttype, but I can't find it.

The Objecttype data I can collect from t_objecttypes, which doesn't seem to be complete on its own..  However what I'm looking for is the stereotypes associated with the objecttype.

The goal is to create 2 dropdowns

Dropdown 1 - with every objecttype
Dropdown 2 - with available stereotypes for chosen objecttype

Something similar to the Auto Naming configuration would be the best.

Kind regards

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Fetching available stereotypes for objecttype
« Reply #1 on: October 18, 2022, 02:41:41 am »
I'm afraid you won't be able to get that information.

A part of it can be found in the t_stereotypes table, but the largest part will be stored in MDG's. They can be found in the model, in separate xml files, or even in binary files int the installation directory.

Even if you succeed in parsing all xml MDG's you probably won't be able to read the binary ones.

Geert

meeert

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Fetching available stereotypes for objecttype
« Reply #2 on: October 18, 2022, 07:55:38 am »
That's unfortunate. Thanks bud.