Book a Demo

Author Topic: Java Code Generation from Hier. State Diagrams  (Read 3427 times)

jr

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Java Code Generation from Hier. State Diagrams
« on: November 10, 2010, 05:08:52 am »
Hello,

looking at the EA (8.0.864, 8.0.863) code generation templates for Java implies that EA might be capable of generating Java code for sub states / state machines.
However I'm unable to generate working code for such a state diagram.
Is this known behavior or am I missing something?

Greetings.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Java Code Generation from Hier. State Diagrams
« Reply #1 on: November 10, 2010, 11:25:02 am »
Behavioral Code Generation is supported in the Business and Software Engineering, Systems Engineering and Ultimate editions of Enterprise Architect.  Please confirm which edition of EA you are currently running.

For more information and directions on where to find examples, please see:
http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/software_development/code_generation_from_behaviora.html

jr

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Java Code Generation from Hier. State Diagrams
« Reply #2 on: November 10, 2010, 11:33:49 am »
Hello,

Version 8.0.863: EA Academic identifying itself as Ultimate Edition.
Version 8.0.864: EA Trial in Ultimate Edition mode.

To clarify this: Behavioral Code Generation does basically work. Then again I'm unable to generate useful code from nested, hierarchical state machines. (The nested states are simply missing from the generated Java code.)

Greetings.
« Last Edit: November 10, 2010, 11:35:22 am by jr »