Book a Demo

Author Topic: access sequence diagrams  (Read 4081 times)

tm200014

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
access sequence diagrams
« on: January 24, 2011, 07:56:50 pm »
Hello!

I have a sequence diagram in my EA-Project in which i have two Classes (one Tester-Class and one Softwaremodule-Class). Now i defined, that there shall be two messages sent between those two classes.

My problem is, that i need to parse this information for another application. Is there any way to access Information like which message is sent from which class to which class with which properties over the Interop.EA.dll?

Thanks in advance!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: access sequence diagrams
« Reply #1 on: January 24, 2011, 09:43:58 pm »
Yes that is definitely possible.
I suggest you look at the EA nagivator addin I published on the community site.

Geert

tm200014

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: access sequence diagrams
« Reply #2 on: January 24, 2011, 10:05:10 pm »
i basically found what i am looking for.

I opened the EA-Project with MS-Access and looked through the SQL-Tables. I found almost every piece of information I need. The only thing i didn't find was the following:
In the sequence diagram i defined a message which executes an operation (function). In EA you can define the Parameter Values which shall be passed to the operation. I set the value to 0xFF, but i can't find this value anywhere in the SQL tables!

Does anyone know where i could find the parameter value for the operation which is to be executed?

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: access sequence diagrams
« Reply #3 on: January 24, 2011, 10:19:56 pm »
The value of the parameter is in the attribute

StyleEx

in the table t_connector
it has the form of a ; delimited string and the parameter values are is the first field with the following syntax

paramvalues=0xFF;

(using your example)

Hope this helps

Cheers

Phil
Models are great!
Correct models are even greater!

tm200014

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: access sequence diagrams
« Reply #4 on: January 24, 2011, 11:13:53 pm »
EDIT: i found it! thank you very much!
« Last Edit: January 24, 2011, 11:18:16 pm by tm200014 »