Altova UModel 2023 Enterprise Edition

UModel Tutorial

Home Prev Top Next

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).


Getting Started

Use Cases

Class Diagrams

Creating Derived Classes

Object Diagrams

Component Diagrams

Deployment Diagrams

Forward Engineering (from Model to Code)

Reverse Engineering (from Code to Model)


This tutorial makes use of the following sample UModel project files available in the directory C:\Users\<username>\Documents\Altova\UModel2023\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\UModel2023. When any user starts the application for the first time, the example files are copied to C:\Users\<username>\Documents\Altova\UModel2023\UModelExamples. Therefore, do not move, edit, or delete the example files in the initial directory.

© 2016-2022 Altova GmbH