Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A RENTAL BUSINESS - DESIGN You have been asked to create an information system for a rental business ( SuperRent ) using the following attributes
A RENTAL BUSINESS DESIGN
You have been asked to create an information system for a rental business SuperRent
using the following attributes and constraints:
SuperRent only rents out DVDs for a fixed duration, ie all transactions are
rentals.
DVDs content can be: movie, game, or music.
DVDs can be of the following types: new arrival, promotional, normal.
Each DVD is identified by a unique stock number.
Rental charges vary according to the DVD content.
Rental duration varies according to the DVD type.
A Late fee is charged per day when a DVD is returned after the due date.
The late fee rate varies according to the DVD content.
Only cash payments are accepted.
Only members can borrow from SuperRent; members are identified by a unique
membership number.
Members can rent items from any store and return them to any store.
A rental cannot be completed before paying the late fees.
On completion of rental transaction, the customer receives a printed receipt. The following is the Rent DVD use case in expanded, essential, conversational style. It includes both a typical course of events, and an alternatives section.
Use Case: Process Rental
tabletableTypical course of eventsActor Actiontable Customer arrives at the counter with DVDsto rent. Sales assistant starts a new rental.,table Customer presents membership ID to salesassistant who enters it into the system.table System shows membership information,status of any loans. Sales assistant enters DVD IDtable System records rental line item andpresents item description, rental fee, rentalduration and running total.Fee calculated from a set of price rules.table Sales assistant repeats until indicatesdone System presents total rental fee.table Sales assistant tells customer total rentalfee and requests payment.table Customer hands the cash to the salesassistant who enters the payment into thesvstem System handles payment.table System logs completed rental, updates theinventory and generates a receipt.table Sales assistant gives receipt to customer,who then leaves with the rented DVs REQUIREMENTS
Based on the Process Rental use case and using the provided class diagram:
Assignment :
Add the necessary attributes based on the provided list of attributes and constraints
see first page
Find the control classes and add the operations. The output of this activity is the class
diagram representing the entity classes and control classes by assigning necessary
operations.
Assignment :
Draw the sequence diagram of the Use Case Process Rental.
Provide the Java code classes and their implementation based on the modified class
diagram.
The grade will depend on the use of objectoriented design principles
not only on the working solution.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started