logo

Sequence Diagram: Customer Ordering, Waiter Placement, and Order Processing

   

Added on  2023-04-24

17 Pages2740 Words207 Views
Running head: SEQUENCE DIAGRAM
Sequence Diagram
Name of the Student
Name of the University
Author’s note:

1SEQUENCE DIAGRAM
Table of Contents
1. Customer Placing Order:.............................................................................................................2
2. Waiter Place Order:.....................................................................................................................4
3. Order Preparation:.......................................................................................................................6
4. Order Serving to Customer Table:...............................................................................................8
5. Check Ingredient Quantity:........................................................................................................10
6. Update Ingredient Amount:.......................................................................................................12
Bibliography:.................................................................................................................................14

2SEQUENCE DIAGRAM
1. Customer Placing Order:
Figure 1: Sequence Diagram for Customer Ordering
(Source: Created by Author)
The customer of Vallée de Goût restaurant will access the menu from the tabletop tablets.
The organization is willing to alter the paper based menu with the digital menu installed in the
tablets. Each of these menu will store every food the restaurant serves to the customers. The

3SEQUENCE DIAGRAM
customer will first access the menu and then select the desired food. The system will call the
FoodSelect() method to confirm the food. Once the customer selects the first food, the order is
created in the system. The accessmenu() method is initialized when the customer access the
digital menu through the tablet installed in the tables. The tablet will have the table number
stored within it. This table number can be changed as the same tablet can be installed in different
tables at different days. If the customer selects the desired food and click on order then the
system initiate the FoodSelect() method. In response to this, the systems asks the customer to
enter the amount of the food to be ordered. The customer can also enter special notes in the same
page. All these information then stored in the order. If the customer is selecting the first food
then createorder() method is called. This method creates a new object of the order class. The rest
of the food ordered by the same customer is added to this order object. The sequence diagram
shows this real life example by implementing a condition statement. The condition select more
food is actually a loop. Once the first food is ordered, the next foods are added to the order object
continuously. From the second to last item ordered, the system calls the UpdateOrder() method.

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Sequence Diagram .
|11
|2500
|105

Elaboration Phase: Functional and Non-Functional Requirements
|14
|3069
|94

iDine Information System for Vallée de Goût - Object Modelling
|14
|2664
|244

iDine Information System for Vallée de Goût - Object Modelling
|12
|2844
|500

iDine Information System for Vallée de Goût
|11
|2195
|60

Object Modelling
|11
|1887
|359