D_UC10 - luist18/feup-aeda-proj GitHub Wiki
Use case 10: View all contracts
Rational
Main flow | Question: what class ... | Answer | Justification |
---|---|---|---|
1. The company requests to see the contract history. | ... interacts with the user? | ViewContractsPageUI | Pure Fabrication. |
... coordinates the use case? | ViewContractsPageController | Controller. | |
2. The company requests to sort the contract history. | ... knows the contracts? | ContractManager | Information Expert: the manager knows its data. |
... sorts the contract history? | ViewContractsPageController | Controller. | |
3. The system shows the contract history. |
Systematization
From the rational results that the conceptual classes promoted to software classes are:
- Company
- Contract
Other identified software classes (e.g. Pure Fabrication):
- ViewContractsPageUI
- ViewContractsPageController
- ContractManager
- RentalContract
- TransferContract