How cleancodeclass/video-rental works
This is a small video-rental billing program. Its central workflow is to collect a customer’s rentals, calculate charges and frequent-renter points, and produce a statement. Customer owns that calculation; Rental supplies rental duration and its Movie, while Movie supplies the title and price category. The excerpts show no application entry point or output destination, so the initiating user is shown without an asserted connection.
Main entry points: Customer.java Customer Statement · Rental.java Rental · Movie.java Movie
Components 4
Other components
- User
- Customer Statement
src/com/videorental/Customer.java - Rental
src/com/videorental/Rental.java - Movie
src/com/videorental/Movie.java
Connections 3
- Customer Statement → Rental: reads rentals
src/com/videorental/Customer.java - Customer Statement → Movie: reads details
src/com/videorental/Customer.java - Rental → Movie: stores and returns
src/com/videorental/Rental.java