for
<Project>
<CSC207>
<27/8/2009>
Revision History
Name Date Reason For Changes Version
Copyright 2004 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.
Use Cases for <project> Page 1
2.3.1 Created By
Page Neo Tao You and Jeffrey Pang Jian Hao
3.1. Actors
The customer An actual person that makes an online reservation via the system.
Reservation Database A database that stores the reservation after the customer makes it.
Use Cases for <project> Page 2
Waiter An actual person that views the reservations made and can mark the customer as arrived via the
system.
Order Database A database that stores current orders pending for the kitchen to prepare.
Kitchen Staff An actual person that can view orders and mark order as done via the system.
3.2. Trigger
The Customer accesses the system online to make a reservation.
3.3. Description
The customer accesses the system online to make a reservation. The reservation will be stored in the
reservation database and could be viewed by the waiter. When the customer arrives at the restaurant, the
waiter will mark the customer as arrived on the system, and the system will send the order to the order
database. The Kitchen staff will be able to view the order, and prepare the order and mark the order as done
when completed.
3.4. Preconditions
List any activities that must take place, or any conditions that must be true, before the use case can be
started. Number each precondition. Examples:
1. Users computer has sufficient free memory available to launch task.
3.5. Postconditions
Describe the state of the system at the conclusion of the use case execution. Number each postcondition.
Examples:
1. Reservation Database will be updated with the reservation as arrived.
2. Order database will be updated with the order as completed.
3.6. Normal Flow
Manage Reservation
Make Reservation
Select Table.1 Customer selects vacant table from floor plan of restaurant.
Select Table.2 Customer enters name and contact details.
Update Reservations.1 Update the reservation database after Manage Reservation is completed.
Mark Customer as arrived.1 indicates customer has arrived, includes Add Customers Order
Into Order Database and Update Reservations.
Manage Order
View Orders.1 View existing orders to prepare.
3.8. Exceptions
When user tries to modify reservation less than 24hrs to reservation time, error will be displayed.
3.9. Includes
Manage Reservation includes Update Reservations.
Mark Customer as Arrived includes Update Reservations and Add Customers Order into Database.
3.10. Priority
Indicate the relative priority of implementing the functionality required to allow this use case to be
executed. The priority scheme used must be the same as that used in the softwarerequirements
specification.
3.14. Assumptions
List any assumptions that were made in the analysis that led to accepting this use case into the product
description and writing the use case description.
Actors:
Description:
Trigger:
Preconditions: 1.
Postconditions: 1.
Normal Flow: 1.
Alternative Flows:
Exceptions:
Includes:
Priority:
Frequency of Use:
Business Rules:
Special Requirements:
Assumptions:
Notes and Issues: