Reference no: EM132514744
Assignment
Task Details
In Assignment 1, you developed a design document for the initial design of a booking system for a small restaurant. The restaurant only offers a degustation menu; there is one sitting per day. Bookings are made by telephone. Because of the popularity of the restaurant, bookings are only taken for the current week. The restaurant has 20 tables that can each seat a maximum of 4 people. If a booking is for more than 4 people, up to 4 tables can be combined, proving seating for 10 people. If the restaurant is fully booked, customers can choose to go on a waiting list. If a cancellation occurs, then the waiting list is processed as a queue. The starting point for your design were the following use cases:
1. Customer requests a booking
2. Customer makes a cancellation
3. Manager checks number of tables in use for a day / week
In this assignment, you are to implement the design that you developed in Assignment 1. However, there are now additional requirements that need to be taken into account:
1. The manager checks bookings within a specified size range for a day/week. The results of the queries are to be browsable, as in AddressBook. Ranges are to be specified and handled in the same manner as in the sample design document in Week 5 - refer to page 10.
2. Your design is to be refactored to incorporate IConnect, IQuery and IView interfaces, as in the Week 6 refactoring of AddressBook.
3. JavaDB / Apache Derby must be used as the database and the application must conform to MVP.
4. The coding and documentation guidelines provided on the unit website must be followed.
Attachment:- developed a design document.zip