Book a Demo

Author Topic: Diagram of the EA Object Model  (Read 8197 times)

José Farinha

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Diagram of the EA Object Model
« on: February 07, 2020, 11:18:31 am »

Is there any publicly available diagram of the EA Object Model?
For instance, something of an .eap file displaying the contents of the manual at https://sparxsystems.com/resources/user-guides/15.1/automation/enterprise-architect-object-model.pdf.

Maybe that would be the best way to get acquainted with the OM.

I've searched through the user guide library and EA's installation folder but could find any.

TFYA + best regards

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Diagram of the EA Object Model
« Reply #1 on: February 07, 2020, 03:29:28 pm »
I think you can reverse engineer the interop DDL (but I never tried it)

I've always just used the help.

Geert

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Re: Diagram of the EA Object Model
« Reply #2 on: February 07, 2020, 07:10:23 pm »
I found this one some years ago, it's nog complete but good enough to start with.

https://imgur.com/a/S2QhVOy

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Diagram of the EA Object Model
« Reply #3 on: February 07, 2020, 08:20:39 pm »
Something like that is also in the help (IIRC). RE works just fine and gives you a real model.

q-

pvickers

  • EA User
  • **
  • Posts: 44
  • Karma: +7/-0
    • View Profile
Re: Diagram of the EA Object Model
« Reply #4 on: February 08, 2020, 03:17:01 am »
I have also been looking for such a diagram...In the reference library and "Help" I have found diagrams such as this:
https://sparxsystems.com/enterprise_architect_user_guide/15.1/automation/element.html

But I have not yet found a higher level one such as MatthiasVDE has provided the link to.

I could really have used that diagram about 5 years ago!
 :D

Thanks,
Perry

José Farinha

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Diagram of the EA Object Model
« Reply #5 on: February 09, 2020, 11:43:58 am »
I think you can reverse engineer the interop DDL (but I never tried it)

I've always just used the help.

Geert

I've done it, but since it required a disassembly the result is highly "flat" (no generalizations, no associations, etc.).  I was looking for a genuine UML diagram.

Thanks for the hint, anyway.

Best regards

José Farinha

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Diagram of the EA Object Model
« Reply #6 on: February 09, 2020, 11:48:56 am »
Something like that is also in the help (IIRC). RE works just fine and gives you a real model.

q-

Thanks.
Don you mean reverse engineering the interop.EA.dll?
If so, I've done it. I got a flat, non-UML diagram :-(

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
Re: Diagram of the EA Object Model
« Reply #7 on: February 09, 2020, 02:36:37 pm »
Sorry if I missed the point... but for me it was super easy.
I opened my own *eap file with sparx using database reverse engineering.  Made a ERD diagrams and dragged all tables into it.  Took me 3 minutes, I had the full object model.  I can post if someone tells me hpow to upload pictures without signing up to any web service.  But really it's 3 minutes work.
Sparx 1310 professional edition.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Diagram of the EA Object Model
« Reply #8 on: February 09, 2020, 08:44:48 pm »
@José: Yes, there is no diagram. And if you look at the single classes you realize that it's pointless. There are no relations between them. Just look at the most important ones like Repository and Element. They only realize Interfaces which are derived from IDual interface (which finally have the same content as the classes themselves). You can use the import for reference, though. Finding an operation and its signature is probably faster than consulting EA's help.

What you could do is to re-work the import by replacing single typed attributes by actual associations with role names. EA could have done that, but it seems they are not able to do that. Nothing a script couldn't do to fix that...

@Richard: The ERD is another view. It's additional to what José is asking.

q.
« Last Edit: February 09, 2020, 09:06:29 pm by qwerty »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Diagram of the EA Object Model
« Reply #9 on: February 09, 2020, 10:40:10 pm »
Sorry if I missed the point... but for me it was super easy.
I opened my own *eap file with sparx using database reverse engineering.  Made a ERD diagrams and dragged all tables into it.  Took me 3 minutes, I had the full object model.  I can post if someone tells me hpow to upload pictures without signing up to any web service.  But really it's 3 minutes work.
Sparx 1310 professional edition.
The difference is that this method gets you the database structure (also useful) but not a diagram of the API object model.

Geert

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: Diagram of the EA Object Model
« Reply #10 on: February 10, 2020, 10:28:57 pm »
There's a beer at the next EA User Group for anyone who comes with this. It would be REALLY useful...
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Re: Diagram of the EA Object Model
« Reply #11 on: February 11, 2020, 05:11:36 pm »
I started with modelling the Object Model, based on the interop.dll and the reference information.
But it becomes too big to fit on one diagram  ;D

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Diagram of the EA Object Model
« Reply #12 on: February 11, 2020, 08:45:06 pm »
Maybe one beer is not enough...

q.