All the classes to be stored in Tempo are declared as JPA entities:
You can find the diagram of the relationship between each entities attached here
.
The mapping also require a few connecting tables, tables that do not persist an entity directly, but are needed for java collections and java maps persistence. Those are the following: