Open Access
Peer-Reviewed
Foundational Models & Architectures
A Model Transformation Approach for Code Generation From State Machine Diagram
Abstract
The Unified Modeling Language (UML) is widely considered as the defacto standard for the design of Object Oriented systems. This is standard has been wildly improved by the Model Driven Architecture (MDA) an other inititive of OMG to provide a complete development process for complex system. MDA promotes the use of models through the entire development process starting from a CIM for requirement specification to code generation. MDA provides also a set of model transformation to connect them and generate automatically the code. Among these models, UML state machines, finite state machines constitute the most widely used to specify the dynamic behavior of a system. However, generating code from state machine models, as part of the final system, constitutes one of the most challenging tasks due to its dynamic nature and because many state machine concepts are not supported by the object-oriented programming languages. Therefore, in this paper we introduce an approach to automatically generate code for specific platform from state machine.
Keywords
State machine
MDA
model transformation code generation.
Declarations & Ethics
Funding:
This research received academic dissemination support through ESCAP / JournalsHub publishing programs.
Conflicts of Interest:
The authors declare no competing financial or institutional interests.
Peer Review:
Double-blind peer reviewed by international subject specialists.
License:
Creative Commons Attribution 4.0 International (CC BY 4.0).
How to Cite This Article
APA / MLA / BibTeX
LAVETE, et al. (2014). A Model Transformation Approach for Code Generation From State Machine Diagram. IADIS International Journal on Computer Science and Information Systems, 9(1). https://doi.org/10.33965/ijcsis_2014_v9i1_02
LAVETE, et al. "A Model Transformation Approach for Code Generation From State Machine Diagram." IADIS International Journal on Computer Science and Information Systems, vol. 9, no. 1, 2014. https://doi.org/10.33965/ijcsis_2014_v9i1_02
LAVETE, et al. "A Model Transformation Approach for Code Generation From State Machine Diagram." IADIS International Journal on Computer Science and Information Systems 9, no. 1 (2014). https://doi.org/10.33965/ijcsis_2014_v9i1_02