XRTSDIC: model transformation from PIM to PSM


  • G Ramesh






Model Driven Engineering, Platform Independent Model (PIM), Platform Specific Model (PSM).


Computer Aided Software Engineering (CASE) has been growing faster in software industry. As part of it Model Driven Engineering (MDE) has been around for focusing on models and transforming them from one model to other model. The tool named Extensible Real Time Software Design Inconsistency Checker (XRTSDIC) proposed by us in previous paper supports UML modelling, design inconsistency checking and model transformation from UML to ERD to SQL. In this paper it is extended further to facilitate model transformation from PIM (UML class diagram) to PSM (source code). We proposed an algorithm and defined model transformation and consistency rules. The extended framework has provision for class relationship analysis and support for choosing different object oriented languages like C#, C++ and Java. While transforming the model, we used the concept of dialects. Dialect is the class with transformation functionality which has ability to adapt to syntax and semantics of chosen language. Different dialects are made available for different languages. Thus the proposed system is capable of transforming models and the prototype application we built and extended demonstrates the proof of concept. The empirical results revealed that the model transformation is consistent and accurate.


[1] Anshul, Sompal and Vikas Sheoran. (2014). Automatic Code Generation Using Uml To Xml Schema Transformation. International Journal of Advancement in Engineering Technology Management & Applied Science. 1 (1), P1-7.

[2] Photchana Sawprakhon and Yachai Limpiyakorn. (2014). Sequence Diagram Generation with Model Transformation Technology.Proceedings ofthe International Multiconference of Engineers and Computer Scientists. 1, P1-6.

[3] Muhammad Usman, And Aamer Nadeem. (2009). Automatic Generation of Java Code from UML Diagrams Using UJECTOR. International Journal of Software Engineering and Its Applications. 3 (2), P1-18.

[4] Sunitha E.V and Philip Samuel. (2014). Translation of Behavioral Models to Java Code and Enhance With State Charts. International Journal of Computer Information Systems and Industrial Management Applications. 6, P294 - 304.

[5] Atif A. A. Jilani,Muhammad Usman,Aamer Nadeem,Zafar I. Malik And Zahid Halim. (2011). Comparative Study on DFD to UML Diagrams Transformations. World of Computer Science and Information Technology Journal (WCSIT). 1 (1), P1-7.

[6] I.Arrassen,A.Meziane,R.Sbai And M.Erramdani. (2011). QVT Transformation by Modeling from UML Model to MD Mode. (IJACSA) International Journal of Advanced Computer Science and Applications. 2 (5), P1-8.https://doi.org/10.14569/IJACSA.2011.020502.

[7] Wafa Chama, Raida Elmansouri and Allaoua Chaoui. (2012). MODEL CHECKING AND CODE GENERATION FOR UML DIAGRAMS USING GRAPH TRANSFORMATION. International Journal of Software Engineering & Applications (IJSEA). 3 (6), P1-17.https://doi.org/10.5121/ijsea.2012.3604.

[8] Ms. Amruta Pawar and Mr. R. B. Kulkarni. (2015). Model–Driven Content Management Of Web Applications Using Atlas Transformation Language. International Journal of Advanced Research in Computer Science and Software Engineering. 5 (1), P1-8.

[9] Lavleen Kambow. (2012). Transformation of Uml Class Diagram to Uml Sequence Diagram. International Journal of Applied Information Systems (IJAIS). 2 (9), P1-4.https://doi.org/10.5120/ijais12-450413.

[10] Oksana Nikiforova, Janis Sejans and Antons Cernickins. (2011). Role of UML Class Diagram in Object-Oriented Software Development.Scientific Journal of Riga Technical University Computer Science. Applied Computer Systems. 44 (.), P1-10.https://doi.org/10.2478/v10143-011-0023-4.

[11] Wafaa Alakwaa and Akram Salah. (2010). Model Transformation from Ontology Model to Content Analysis Model. International Journal of Computer Applications. 7 (3), P1-8.https://doi.org/10.5120/1147-1501.

[12] Mohammad I. Muhairat and Akram Abdel Qader. (2014). A NEW REVERSE ENGINEERING APPROACH TO CONVERT FORM FILL FORMAT DOCUMENT INTO UML CLASS DIAGRAM. International Journal of Software Engineering & Applications (IJSEA). 5 (6), P1-12.https://doi.org/10.5121/ijsea.2014.5605.

[13] Viktoria OVCHINNIKOVA and Erika ASNINA. (2014). Overview Of Software Tools For Obtaining UML Class Diagrams And Sequence Diagrams From Source Code Within TFM4MDA. Baltic J. Modern Computing. 2 (4), P260-271.

[14] J. Cabot, R. Clariso and D. Riera. (2014). On The Verication Of UML/OCL Class Diagrams Using Constraint Programming. Elsevier, P1-53.

[15] Aymen Achouri. (2014). TOWARDS A SEMANTIC FOR UML ACTIVITY DIAGRAM BASED ON INSTITUTION THEORY FOR IT’S TRANSFORMATION TO EVENT-B MODEL. Computer Science & Information Technology (CS & IT), P1-16.https://doi.org/10.5121/csit.2014.4211.

[16] Redouane Esbai, Mohammed Erramdani, Samir Mbarki, Ibtissam Arrassen, Abdelouafi Meziane and Mimoun Moussaoui. (2011). Model-Driven Transformation with Approach by Modeling: From UML to N-Tiers Web Model. NIJCSI International Journal of Computer Science Issues. 8 (2), P1-11.

[17] Appala Srinuvasu Muttipati and Poosapati Padmaja. (2015). Construction Of Software Model Graph And Analysing Object-Oriented Program(C#) Using Abstract Syntax Tree Method. (IJCSIT) International Journal of Computer Science and Information Technologies, 6 (4), P3288-3293.

[18] Oksana Nikiforova. (2009). Two Hemisphere Model Driven Approach For Generation Of UML Class Diagram In The Context Of MDA. E-Informatica Software Engineering Journal. 3 (1), P1-14.

[19] SAIF KHALID ABDULLAH. (2015). GENERATING UML CLASS DIAGRAM FROM SOURCE CODES USING MULIT-THREADING TECHNIQUE. Faculty of Computer Science and Information Technology Universiti Tun Hussein Onn Malaysia, P1-38.

[20] Zhao Zhao. (2014). UML Model to Fault Tree Model Transformation for Dependability Analysis. Department of System and Computer Engineering Carleton University, P1-142.

[21] Vahid RAFE, Shahram JAMALI, Mohsen RAHMANI and Farzaneh MAHDIAN. (2011). From Class Diagrams to Relational Tables: A Graph Transformation-Based Approach. PRZEGLÄ„D ELEKTROTECHNICZNY (Electrical Review), P1-3.

[22] E.A. Cherkashin, V.V. Paramonov, R.K. Fedorov, I.N. Terehin, E.I. Pozdnyak and D.V. Annenkov. (2012). Information Systems Framework Synthesis onthe Base of A Logical Approach. E-Society Journal: Research and Applications. 3 (2), P1-129.

[23] Magalhães, A.P and Andrade, A.; Maciel, R.S.P. (2015). On The Specification of Model Transformations through A Platform Independent Approach. Journal of Software Engineering and Knowledge Engineering (SEKE), P1-4.https://doi.org/10.18293/SEKE2015-053.

[24] Sebastian Gabmeyer, Petra Brosch and Martina Seidl. (2013). A Classication of Model Checking-Based Verication Approaches For Software Models. Second Workshop on Verication of Model Transformations, P1-7.

[25] Kahina Hassam, Salah Sadou and Regis Fleurquin. (2010). Adapting OCL Constraints After A Refactoring Of Their Model Using An MDE Process. Elsevier, p1-13.

View Full Article: