D_UC6 - luist18/feup-aeda-proj GitHub Wiki
Use case 6 realization: View All Rent History
Rational
| Main flow | Question: what class ... | Answer | Justification |
|---|---|---|---|
| 1. The company requests to see all the rental history. | ... interacts with the user? | ViewAllRentHistoryUI | Pure Fabrication. |
| ... coordinates the use case? | ViewAllRentHistoryController | Controller. | |
| ... knows the Rentals? | RentalManager | Information Expert: RentsManager knows all its Rents. | |
| ... has the RentsManager? | Company | High Coesion + Low Coupling: Company takes advantage of a RentList to manage its Rents. | |
| 2. The system shows the rental history of all clients. |
Systematization
From the rational results that the conceptual classes promoted to software classes are:
- Company
- Rent
Other identified software classes (e.g. Pure Fabrication):
- ViewAllRentHistoryUI
- ViewAllRentHistoryController
- RentalManager
Sequence diagram

Class diagram
