An Object-Oriented Approach To Generate Java Code From Hierarchical-Concurrent and HistoryStates

M. H. Aabidi, A. Jakimi, E. H. El Kinani

Abstract


UML is widely accepted and practiced in industries for modeling and design of software systems. Software requirements and design are very important parts of software development. UML State Machine diagram is an important formalism to model the dynamic behavior of the system. In this paper, we present a new approach to generate compact and efficient Java code fromcomplex state machine involving hierarchical-concurrent states;in fact the proposed code can be used as a Java implementation patternfor automatic code generation for an object-oriented system. The main idea of our study is using Java Enum type with attributes for implementing complex state machines.

Full Text:

PDF
Total views : 64 times

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.