CRC Cards - Michael, Rebekah, Zach.pdf

CRC Cards
Michael Cunningham
Rebekah Stauffer
Zach Brown
Store
Responsibilities
Maintains information about each rentable item
Collaborators
RentableItem
Maintains a record for each customer
Customer
Maintains information about copies
Copy
Customer
Responsibilities
Provides customer’s information
Collaborators
Keeps track of rental transactions
Rent
RentToOwnItem
Responsibilities
Provides information on rent-to-own items
Collaborators
OrdinaryRentalItem
Responsibilities
Provides information on ordinary rental items
Collaborators
Rent
Responsibilities
Calculates rental charges
Collaborators
OrdinaryRentalItem
Calculates monthly fees for rent-to-own items
RentToOwnItem
Accesses copy’s ID
Copy
Stores customer information
Customer
Records payments
LateFees
Copy
Responsibilities
Provides status information
Collaborators
Provides copy’s information
Stores information about the current rental
RentalStoreGUI
Responsibilities
Allows the user to request the execution of a use
case by displaying a menu
Rent
Collaborators
RentalStoreController
Displays rental information (including fees and the
date of the next payment due for rent-to-own
items)
Rent
Displays any late fees
LateFees
Displays copy status
Copy
RentalStoreController
Responsibilities
Allows the user to use the “Manual save” use case
Collaborators
Store
Allows the user to use the “Startup/Shutdown”
use case
Store
Allows the user to use the “Rent” use case
Rent
Allows the user to use the “Record copy return”
use case
Store