Book a Demo

Author Topic: Code Generation for Activity Diagram Object Flows  (Read 11333 times)

DavidL

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Code Generation for Activity Diagram Object Flows
« on: May 30, 2011, 12:55:32 pm »
I would like to generate java code for object flows in an activity diagram. Software for control flows works as expected. I can not figure out how to get software for the object flows.

For example, I would like to solve the following equation:

A=5
B=6
Out=i1+i2

I would like the sum to be reusable. I connect the object node for A to the pin with the name i1 and the object node B to the pin with the name i2.

In an ideal world, I would like to create data flows of control laws using a set of activities/actions for filters (lopass, hipass), math (sum, multiply) and so on. I would like to quickly connect the activities/actions together with object flows. I would then like to generate a complete software algorithm.

Is this possible? Does anyone have an example?