An Object-Oriented Approach To Generate Java Code From UML Statecharts

作者: Jiro Tanaka , Iftikhar Azim Niaz

DOI:

关键词:

摘要: The Unified Modeling Language (UML) statechart diagram is used for modeling the dynamic behavior of a system. This paper describes an object-oriented (OO) approach to generate compact and efficient Java code from UML diagrams. states are represented as objects all associated with state contained in one object. localizes state-specific partitions different states. Introducing separate makes transitions more explicit. We have implemented having sequential concurrent substates by extending design pattern using concept object composition delegation. method has been successfully our automatic generating system, JCode, which generates after reading specifications diagram. also presents results experiment generated JCode compared that Rhapsody OCode. show 68% four times than 50%

参考文章(21)
Jiro Tanaka, Jauhar Ali, Converting Statecharts into Java Code ,(2001)
Jiro Tanaka, Iftikhar Azim Niaz, Code generation from UML statecharts international conference on software engineering. pp. 315- 321 ,(2003)
Jiro Tanaka, Jauhar Ali, Implementing the dynamic behavior represented as multiple state diagrams and activity diagrams ACIS International Journal of Computer & Information Science archive. ,vol. 2, pp. 24- 36 ,(2001)
Jiro Tanaka, Iftikhar Azim Niaz, Mapping UML statecharts to java code. iasted conference on software engineering. pp. 111- 116 ,(2004)
Richard Helm, John Vlissides, Ralph Johnson, Erich Gamma, Design Patterns: Elements of Reusable Object-Oriented Software ,(1994)
Aamod Sane, Roy Campbell, Object-oriented state machines: subclassing, composition, delegation, and genericity conference on object oriented programming systems languages and applications. ,vol. 30, pp. 17- 32 ,(1995) , 10.1145/217838.217841
William Lorensen, James Rumbaugh, Frederick Eddy, Michael Blaha, William Premerlani, Object-Oriented Modeling and Design ,(1990)
David Harel, Statecharts: A visual formalism for complex systems Science of Computer Programming. ,vol. 8, pp. 231- 274 ,(1987) , 10.1016/0167-6423(87)90035-9