DOI QR코드

DOI QR Code

Information Structuring of Diagram Repository for UML Diagrams

UML 다이어그램을 위한 다이어그램 레포지토리의 정보구조화

  • Kim, Yun-Ho (Department of Computer Engineering, Andong National University)
  • Received : 2019.10.21
  • Accepted : 2019.11.11
  • Published : 2019.12.31

Abstract

This paper presents the technique on structuring information of the diagram repository for UML diagrams. Because object interactions are the body of object-oriented programming, this paper handles especially the sequence diagrams and class diagrams among UML diagrams. Based on class diagrams, sequence diagrams represent the procedure of object interactions in run-time and then the corresponding codes are generated from the contents of those sequence diagrams. To do this work, this paper presents a method to construct the information repository for generating code from the contents of sequence diagrams. This paper classifies the five message types of sequence diagrams and then extracts the needed information including items and values on the corresponding message types for constructing message repositories. Because sequence diagram is composed of messages included, the final repository is constructed by collecting each of structured repositories on messages sequentially.

본 논문에서는 UML 다이어그램에 대응되는 코드 생성을 위하여 요구되는 정보를 저장하기 위한 레포지토리를 구축하는 방법을 제시한다. 객체 지향 프로그래밍에서는 객체 간의 상호 작용이 핵심이므로, UML 다이어그램들 중에서 클래스 다이어그램과 시퀀스 다이어그램에 대해서 논의를 전개한다. 클래스 다어어그램을 기반으로 실행 시간에 객체가 상호 동작하는 절차를 보이는 시퀀스 다이어그램으로부터 상응하는 코드를 생성하게 되며, 이를 위해서는 코드생성에 필요한 정보를 추출하여 정보 저장소인 레포지토리를 구축하여야 한다. 따라서 본 논문에서는 시퀀스 다이어그램의 메시지 유형을 다섯 개로 분류하고 이들로부터 각각의 레포지토리를 구성하기 위하여 필요한 항목과 그 값에 대한 정보를 추출하여 구조적으로 정보를 저장하는 방법을 제시한다. 시퀀스 다이어그램은 이들 메시지들로 구성되므로, 각 메시지에 대한 구조화된 레포지토리를 순차적으로 수집하여 최종적인 레포지토리를 구성한다.

Keywords

Acknowledgement

This work was supported by a grant from 2015 Research Funds of Andong National University.

References

  1. J. Rumbough, I. Jacobson, G. Booch, The Unified Modeling Language Reference Manual, Addson-Wesley, 1999.
  2. D. Orleans and K. Lieberherr, "DJ: Dynamic Adaptive Programming in Java," International conference on Meatalevel Architectures and Reflection, pp. 73-80, 2001.
  3. T. Quatrani, Visual Modeling with Rational Rose 2002 and the UML, 3rd. ed., Addison-Wesley, 2002.
  4. F. Ciccozzi, "Execution of UML models: a system review of research and practice," Software & Systems Modeling, Vol. 18, No. 3, pp. 2313-2360, 2019. https://doi.org/10.1007/s10270-018-0675-4
  5. S. Gotti, S. Mbarki, "UML executable: a comparative study of UML compilers and interpreters." International Conference on Information Technology for Organizations Development (IT4OD), pp. 1-5, 2016.
  6. A. Soumiya, B. Mohamed, "Converting UML Class Diagrams into Temporal Object Relational Dababase," International Journal of Electrical and Computer Engineering, Vol. 7, No. 5, pp. 2823-2832, 2017. https://doi.org/10.11591/ijece.v7i5.pp2823-2832
  7. M. Mukhtar, B. Galadanci, "Automatic code generation from UML Diagrams: The-State-of-the-art," Science World Journal, vol. 13, No. 4, pp. 47-60, 2018.
  8. M. Qu, L. Meng, X. Wu and N. Cui, "Software Modeling and Automatic Code Generation Based on Reactive State Diagram," International Conference on Computer Information Systems and Industrial Applications, pp. 899-901, 2015.
  9. P. Pawde, V. Chole, "Generation of Java Code Structure from UML Class Diagrams," International Journal of Innovative Science and Modern Engineering, Vol. 2, No. 7, pp. 7-10, 2014.
  10. N. Sangal, E. Farrell, K. Lieberherr and D. Lorenz, "Interaction Schema: Compiling Interactioins to Code," Proceedings of Technology of Object-Oriented Language and Systems, pp. 268-277, 1999.
  11. A. Abdurazik and J. Offutt, "Using UML Collaboration Diagrams for Static Checking and Test Generation," The Third International Conference on the Unified Modeling Language, pp. 383-395, 2000.
  12. J. Kim, Y. Kim, "Constructing and Processing of the Metadata information for UML Class Auntorization Tool," Journal of the Korea Institute of Information and Communication Engineering, Vol. 15, No. 8, pp. 71-80, 2011. https://doi.org/10.6109/jkiice.2011.15.1.071