Your browser does not support JavaScript!
http://iet.metastore.ingenta.com
1887

access icon free Automatic code generation using unified modeling language activity and sequence models

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.

References

    1. 1)
      • 6. Harrison, W., Barton, C., Raghavachari, M.: ‘Mapping UML designs to Java’. Proc. of the 15th ACM SIGPLAN Conf. on Object-oriented Programming, Systems, Languages, and Applications, 2000, pp. 178187.
    2. 2)
      • 12. Usman, M., Nadeem, A., Kim, T.-H.: ‘UJECTOR: a tool for executable code generation from UML models’. Conf. on Advanced Software Engineering and its Applications, 2008.
    3. 3)
      • 2. Mellor, S.J., Balcer, M.J.: ‘Executable UML a foundation for model-driven architecture’ (Addison-Wesley, 2002).
    4. 4)
      • 7. Li, X., Liu, Z., Jifeng, H.: ‘A formal semantics of UML sequence diagrams’. Proc. of ASWEC2004, Melbourne, Australia, April 2004.
    5. 5)
      • 13. Long, Q., Liu, Z., Jifeng, H., et al: ‘Consistent code generation from UML models’. Proc. of Australian Software Engineering Conf., 2005.
    6. 6)
      • 10. Yin, L., Liu, J., Ding, Z., et al: ‘Modeling and prototyping business processes in AutoPA’. Fifth Int. Symp. on Theoretical Aspects of Software Engineering (TASE), 2011.
    7. 7)
      • 4. Ali, J., Tanaka, J.: ‘An object oriented approach to generate executable code from OMT-based dynamic model’, J. Integr. Des. Process Sci., 1998, 2, (4), pp. 6577.
    8. 8)
    9. 9)
      • 3. Bjoraa, E., Myhre, T., Straapa, E.W.: ‘Generating Java Skeleton from XMI’ (Open Distributed Systems, Agder University College, 2000).
    10. 10)
    11. 11)
      • 11. Niaz, I.A.: ‘Automatic code generation from UML class and statechart diagrams’. Thesis Report, University of Tsukuba, Japan, 2005.
    12. 12)
      • 14. Rudhal, K.T., Goldin, S.E.: ‘Adaptive multi-language code generation using YAMDAT’. Proc. of ECTI-CON 2008, Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology, 5th Int. Conf., 2008, 14–17 May 2008, vol. 1, pp. 181184.
    13. 13)
    14. 14)
      • 5. OMG: ‘MDA guide version 1.0.1’, June 2003. Available at http://www.omg.org.
http://iet.metastore.ingenta.com/content/journals/10.1049/iet-sen.2015.0138
Loading

Related content

content/journals/10.1049/iet-sen.2015.0138
pub_keyword,iet_inspecKeyword,pub_concept
6
6
Loading
This is a required field
Please enter a valid email address