From State Diagram to Class Diagram

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningpeer review

Abstrakt

UML class diagram and Java source code are interrelated and Java code is a kind of interchange format. Working with UML state diagram in CASE tools, a corresponding xml file is maintained. Designing state diagrams is mostly performed manually using design patterns and coding templates - a time consuming process. This article demonstrates how to compile such a diagram into Java code and later, by reverse engineering, produce a class diagram. The process from state diagram via intermediate SAX parsed xml file to Apache Velocity generated Java code is described. The result is a fast reproducible Java code minimizing maintenance.
OriginalsprogEngelsk
TidsskriftInformation and Software Technology
Sider (fra-til)1-20
Antal sider20
ISSN0950-5849
StatusUdgivet - 2009

Fingeraftryk Dyk ned i forskningsemnerne om 'From State Diagram to Class Diagram'. Sammen danner de et unikt fingeraftryk.

  • Citationsformater