In this application, we can firstly identify the following classes from the entities we described in Activity #6-Step #1:
- Teachers, students and rooms,
- Rooms manager,
- Courses manager,
The NPP is an exception because it is neither associated with another entity, nor in direct interaction with the system. Then we do not define a class for the NPP.
We can then identify the classes that are useful to the system:
- Constraint seems to be essential;
- Constraints manager: A person who is in charge of the constraints of each entity having constraints;
- Grid: A grid to put together rooms and to represent results. We choose a 3-dimension grid: room, time and day. With such a representation one room can appear several times.
- Cell: The intersection of each dimension of the grid.