This tutorial shows you how to create various UML diagrams with UModel, while acquainting you with the graphical user interface. You will also learn how to generate code from a UML model (forward engineering) as well as how to import existing code into a UML model (reverse engineering). With respect to code engineering, you will also learn how to perform full round-trip engineering (either model->code->model or code->model->code). This tutorial assumes basic knowledge of the UML.
The tutorial is organized into sections as shown below. In the initial sections of this tutorial you will be working with a sample project pre-installed with UModel. If you would like to quickly create a new modelling project from scratch with UModel, you can skip directly to Forward Engineering (from Model to Code).
This tutorial makes use of the following sample UModel project files available in the directory C:\Users\<username>\Documents\Altova\UModel2022\UModelExamples\Tutorial:
This is the UModel project file that constitutes the initial state of the tutorial sample. Several model diagrams as well as classes, objects, and other model elements exist in this project. By working through the tutorial, you will be adding new elements or diagrams, or editing existing ones, using UModel.
Note: This project is deliberately incomplete, so validation errors and warnings will be shown if you check the project syntax using the Project | Check Project Syntax menu command. The tutorial shows you how to resolve these issues.
This is the UModel project file that constitutes final state of the tutorial sample.
|Note:||All UModel example files are initially available in the directory C:\ProgramData\Altova\UModel2022. When any user starts the application for the first time, the example files are copied to C:\Users\<username>\Documents\Altova\UModel2022\UModelExamples. Therefore, do not move, edit, or delete the example files in the initial directory.|