In this section the use of basic tools and concepts will be illustrated by modelling the following simple scenario:
A company has employees, some of them being managers. Employees
have a name and a salary which may change from time to time. They
are assigned to departments which are headed by managers. The boss
of an employee can be derived from his department and the manager of
that department. No employee is allowed to earn more money than his
boss.
The model we want to create contains two levels: the class level containing the classes Employee, Manager and Department and the token level which contains instances of these 3 classes.