API Generation Logo

Example Projects

There are four example projects that illustrate various aspects of the information models that input to the MTT process and the generated outputs.

The projects are described below and both the information models and the generated outputs can be viewed in the relevant tab.

Library. This project covers most of the information modelling techniques that are relevant to MTT generators, including: Relationships (of various types, including Composition and Reflexive), Specialization (Inheritance), Association-Classes and the use of Stereotypes and Tags. As the name suggests, the subject-matter is about Borrowers (Adult and Junior), Books, Loans, Librarians, etc. This is the richest example and provides a way to use the generated APIs on an example Library system.

Property Ownership. This project covers similar information modelling techniques as the Library project but is about Actors (People), Properties, Banks, Accounts and the relationships between them. The additional aspect this model illustrates is how to deal with relationships that are time limited. For example, period of ownership of a property.

Personal Details. A simple representation of a Person type, the relationships between Persons and common other types such as Address. It is intended to be used by some other projects, such as Library, as a model dependency.

Core Types. This project defines basic types, such as Integer, Float, String, etc. But it also has slightly higher-level types such as URL, URI, UUID, etc. It is intended to be used by most other projects as a model dependency.