期刊名称:International Journal of Information and Network Security (IJINS)
印刷版ISSN:2089-3299
出版年度:2013
卷号:2
期号:6
页码:429-440
DOI:10.11591/ijins.v2i6.4769
语种:English
出版社:Institute of Advanced Engineering and Science
摘要: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 from complex state machine involving hierarchical-concurrent states; the proposed code can be used as a Java implementation pattern for 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.