MyDigitalLife

Project/package goedegep.emfsample.model

This project/package provides an EMF (Eclipse Modeling Framework) sample model. This model can be used for testing and demo applications.
The model is shown in the following diagram.

The model shows some information for a company. It is far from realistic, as it is created to show different types of functionality in demo applications.
The company has some attributes, of different types:

  • companyName
    The name of the company as a String.
  • dateOfEstablishment
    The date on which the company was established (a Date).

There are two aggregations at company level: employees and formerEmployees. Both are Persons. Main reason for this is that in a demo you can ‘move’ an employee to the formerEmployees.
A Person has the following attributes:

  • firstNames
    The first names of the person, as a String.
  • surname
    The surname of the person, as a String.
  • gender
    The gender of the person, as an enumeration type Gender.
  • retirementDate
    The date, of type Date, the person retired (and moved to formerEmployees).
  • hasChildren
    Indicate whether the person has children. A boolean type.
  • birthday
    The persons birthday, of type Birthday.

The type Birthday is only there to have some hierarchy in the type Person. It has the following attributes:

  • day
    The day in the month.
  • month
    The month.
  • year
    The year.