Automatic code generation using unified modeling language activity and sequence models

Viswanathan, Sunitha Edacheril; Samuel, Philip
December 2016
IET Software;2016, Vol. 10 Issue 6, p164
Academic Journal
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.


Related Articles

  • Modeling and Verification for Track Circuit Encoding in Train Control Center Based on UML and TA. Lei Yuan; Lijuan Wang; Dewang Chen; Albrecht, Amie // Journal of Software (1796217X);Oct2014, Vol. 9 Issue 10, p2693 

    The correct implementation of Train Control Center (TCC) software has great significance on the safe operation of high-speed railways. There are some problems in the currently used timed automata (TA) method for modeling TCC software, such as subjectivity and uncertainty in the modeling. In...

  • Java gets real for industrial automation. Mintchell, Gary // Control Engineering;Nov99, Vol. 46 Issue 11, p42 

    Discusses the benefits of using Java computer program language in industrial automation applications. Object-oriented way to transport information from one environment to another; Move to extend Java into industrial control markets; Consistency of development platform.

  • MODELING DISTRIBUTED SYSTEM ENTITIES WHICH COMMUNICATE ASYNCHRONOUS VIA MESSAGE PASSING IN JAVA. Jovanovié, Nenad; Popovié, Ranko; Jovanovié, Zoran // Neural, Parallel & Scientific Computations;Mar2005, Vol. 13 Issue 1, p63 

    Presents a model of distributed systems in which components communicate asynchronous via message passing, in Java programming language. Model consisting of active objects which present a generalization of entities, realized as Java threads; Use for simulating a work of local area network in real...

  • Automated Testing Speeds Effective Deployment Of Java Functionality. Pottage, David // Electronic Design;11/5/2001, Vol. 49 Issue 23, p65 

    Focuses on the challenges of automated testing speeds of Java functionality in the United States. Benefits of test automation; Automated testing of embedded devices on real-time operating systems; Amalgamation of the platform-specific and target-neutral code.

  • AGENT-BASED FRAMEWORK FOR BUILDING EFFICIENT POSTPAID BILLING SYSTEM IN TELECOMMUNICATIONS. Garko, Ahmed Baita; Wajiga, Gregory Maksha; Egwurube, M. O. // Information Technologist;Jun2012, Vol. 9 Issue 1, p23 

    The postpaid and prepaid billing systems currently in operation in Telecommunications have some problems that show a win-loss situation. In postpaid the problem is mostly due to fraudulent activities by some employees that costs a telecommunications company a loss of between 5% and 15% of its...

  • A New Approach for Code Generation from UML State Machine. Aabidi, My Hafid; Jakimi, Abdeslam; El Kinani, El Hassan; Elkoutbi, Mohammed // International Review on Computers & Software;Feb2013, Vol. 8 Issue 2, p500 

    The emergence of Unified Modeling Language (UML) as a standard for modeling systems has encouraged the use of automated software tools that facilitate the development process from analysis through coding. The UML state machine diagram is used for modeling the dynamic aspects of systems and...

  • UML interaction model-driven runtime verification of Java programs. Li, X.; Qiu, X.; Wang, L.; Chen, X.; Zhou, Z.; Yu, L.; Zhao, J. // IET Software;Apr2011, Vol. 5 Issue 2, p142 

    The authors use unified modelling language (UML) 2.0 interaction overview diagrams (IODs) and sequence diagrams to construct simple and expressive scenario-based specifications, and present an approach to runtime verification of Java programs for exceptional consistency and mandatory...

  • Standards compliance testing for unified modelling language tools. Bunyakiati, P.; Finkelstein, A. // IET Software;Apr2011, Vol. 5 Issue 2, p120 

    Software modelling standards such as the unified modelling language (UML) provide complex visual languages for producing the artefacts of software systems. Software tools support the production of these artefacts by providing model constructs and their usage rules. Owing to the size and...

  • ATM to get security boost. Pappalardo, Denise // Network World;04/20/98, Vol. 15 Issue 16, p14 

    Presents information on the ATM Forum's annual meeting where plans for its ATM SecuritySpecification 1.0 computer program will be finalized. Details on the program; Reasons for the program; Comments from president, George Dobrowski; Information on the benefits of the system.


Read the Article


Sorry, but this item is not currently available from your library.

Try another library?
Sign out of this library

Other Topics