Class Diagram to Code Converter Project Code in C#.Net and Java

By: Prof. Fazal Rehman Shamil
Last modified on April 29th, 2021

Class Diagram to Code Converter Project Code in C#.Net and Java

Project Domain / Category

Desktop Application

Abstract / Introduction

 

The is era of rapid application development where use of automated tools has become very much common to rapidly develop applications in order to meet deadline requirements. Class diagram to code converter is a desktop application that lets designers design the class diagram of an application with the help of drag and drop tools. Once the diagram is complete, the application generates the abstract level source code in C++.

Functional Requirements:

The application will provide a complete tool set for drawing class diagram. The tool set should contain the following tools:

  • Class
  • Association (along with multiplicity)
  • Inheritance
  • Aggregation
  • Composition
Class Diagram to Code Converter Project Code in C#.Net and Java
Class Diagram to Code Converter Project Code in C#.Net and Java

User will select any tool and place/drag it to drawing area in order to complete the class diagram. E.g. there should be a tool for “Class” which user will select and place/drag to the drawing area to draw the class. Once the class is drawn, user can set its properties e.g. Class name, data members and methods etc. by using the “Properties” dialog box.

The properties dialog box should be displayed by right clicking on the class drawn on the drawing area. Similarly, user should be able to draw the association, inheritance, aggregation and composition between the classes and set their properties using the properties dialog box.

Once the class diagram is complete, then user should be able to convert the class diagram into C++ source code. Following table shows a sample class diagram and generated source code. Note that the shown class diagram implements the inheritance relationship.

Tools:

C#.Net or Java

Class diagram, activity diagram, data flow diagram, sequence diagram, use case diagram, Use case description, scope, hard requirements, non-functional requirements, testing test cases, SRS document, design manual, and other diagrams are needed to draw for this project.

Prof. Fazal Rehman Shamil