Author Topic: Extracting interface messages and generating API  (Read 2176 times)

Mark Jones

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Extracting interface messages and generating API
« on: June 30, 2011, 12:21:36 am »
Is there an automated way of generating an API from sequence or activity diagrams.

I have a number of use cases with associated activity & sequence diagrams where for example the activity(or Sequence) diagram shows messages exchanged between two module (e.g. UI and Application layer)

What I would like to do is to generate a report/list (rtf) of the messages hence creating an API document of the interface between UI and Application layer.

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Extracting interface messages and generating A
« Reply #1 on: June 30, 2011, 02:20:06 pm »
I don't know of an automated way.

RTF generation works at a package level and you can specify per diagram whether RTF will document all elements contained on a diagram.  you could try fiddling with that

Otherwise, are you comfortable with SQL?  I have done exactly what you are after for communication diagrams - grabbing the collaborations in order and spitting them out in a spreadsheet (along with message, conditions, constraints, source and target elements etc).
« Last Edit: June 30, 2011, 02:21:55 pm by Dave_Bullet »
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Mark Jones

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Extracting interface messages and generating A
« Reply #2 on: July 01, 2011, 08:48:35 pm »
Hi Dave,

The SQL route would seem the best way for me to achieve what i want. I just need to get and "idiots guide to sql" before  I delve into the model database.

thanks
 ;D