Book a Demo

Author Topic: LoopNode Code Generation  (Read 2551 times)

jrob

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
LoopNode Code Generation
« on: December 31, 2014, 08:23:33 am »
Anyone have a good example of how to configure a LoopNode in an Activity diagram that will result in code being generated?


jasen

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: LoopNode Code Generation
« Reply #1 on: January 04, 2015, 09:57:57 am »
Hi

If you have a look at the EAExample project in :

Software Engineering->Java Model With Behaviors->Order class

The first activity diagram there at least has a loop which generates "while loop" code.

I too am looking into behavior code generation and its hard going. EA structural diagram code generation is bullet proof and always works. Generating code from activity diagrams often doesn't generate what one would expect. Do you know if there is an error output log some where so you can find out what went wrong in the code generation process :-/