Realization of UML Class and State Machine Models in the C # Code Generation and Execution Framework (2009)
BibTeX
@MISC{Derezińska09realizationof,
author = {Anna Derezińska and Romuald Pilitowski},
title = {Realization of UML Class and State Machine Models in the C # Code Generation and Execution Framework},
year = {2009}
}
OpenURL
Abstract
Many benefits are expected due to usage of code generation tools. A reliable application should be created effectively based on complex structural and behavioral models. Model driven approach for program development is realized in Framework for eXecutable UML (FXU). The tool transforms UML models into C # source code and supports execution of the application reflecting the behavioral model. The framework consists of two components: code generator and run time library. The generated and executed code corresponds to structural model specified in class diagrams and behavioral model described by state machines of these classes. All single concepts of behavioral state machines included in the UML 2.x specification are taken into account, including all kinds of events, states, pseudostates, submachines etc. The paper discusses the transformation of UML state machines into C # language. It presents checking the correctness of classes and state machines decided in the framework in order to run a model-related and high quality C # application. The solution was tested on set of UML models. Povzetek: Predstavljeno je orodje za avtomatsko generacijo kode iz UML v C#. 1







