Back to Search Start Over

Automatic code generation using unified modeling language activity and sequence models.

Authors :
Viswanathan, Sunitha Edacheril
Samuel, Philip
Source :
IET Software (Wiley-Blackwell). Dec2016, Vol. 10 Issue 6, p164-172. 9p.
Publication Year :
2016

Abstract

A fully automatic translation of unified modeling language (UML) models to complete source code is not reported so far because some implementation details will not be there in the model, or a single UML model is not enough for complete code generation, or some model elements may not be directly convertible to source code. These issues are addressed in this study. The authors take workflow modelling and automation as the focus of their research. Hence, UML activity diagram is considered. Activity diagram alone cannot give the implementation details like object interactions. A formal association is found between activity and sequence diagrams to add object interaction details to the work flow. Moreover, the authors formulate an algorithm, Am_To_Prototype, which is composed of two subroutines named Method_Body & Excecution_Logic, to generate code from the combined model of activity and sequence diagrams consisting of concurrent activities. The authors compare the proposed method with other research outcomes with respect to workflow automation, support for concurrency, etc. The proposed algorithms are able to generate class definition, method definition and control flow. A case study is presented that demonstrates the algorithm, to generate Java code for the ATM operation. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
17518806
Volume :
10
Issue :
6
Database :
Academic Search Index
Journal :
IET Software (Wiley-Blackwell)
Publication Type :
Academic Journal
Accession number :
148479874
Full Text :
https://doi.org/10.1049/iet-sen.2015.0138