Download ArgoUML User Manual - The GNU

Transcript
Code Generation, Reverse Engineering, and
Round Trip Engineering
•
A Guard is generated to an if statement in the event member method in the branch for the correct
state.
•
A Transition is generated as an assignment of some state variable.
•
An Action is generated as a function call.
7.3. Code Generation in ArgoUML
7.3.1. Static Structure
Most of the generation can be done automatically by the provided language modules. Files are generated
in a directory hierarchy that need to be filled in by the actual code.
7.3.2. Interactions and statechart diagrams
There is currently no support for this in ArgoUML, not for any language.
7.4. Reverse Engineering
Reverse Engineering is used for two main purposes:
1.
To get previously developed classed into the model to build upon.
2.
To get a UML view of previously developed classes to understand how they work.
Essentially this does the opposite of Code Generation.
7.5. Round-Trip Engineering
Round-Trip Engineering makes it possible to switch perspective while doing the design. Create some
classes in a class diagram. Write some code for some of the operations or functions using your favorite
editor. Move the operations from one class to another in the class diagram...
ArgoUML currently does not support this for any language.
72