Professional Documents
Culture Documents
Customer Eating
Preparing Bill
: Bill
Delivering Bill
: Token
: Payment
: Receipt
Taking Order
: Order
Returning Customer Belogings : Customer Belongings
: Meal
Assign Customer To
Arranging Seating Table
Table
Assign Customer To
Table
Head Waiter
Initiate Menu
Customer
Browse Menu
Customer
Customer
Kitchen Kitchen
Customer Customer
Request Assistance
CUCs::Assign Customer To
AUCs::Maintain Restaurant «include»
Table
CUCs::Initiate Menu
«include»
«include»
1
This is not a proper use of the ‘include’ relationship.
2
For some reason, when copying activity diagrams, Visio insists on removing the labels from the control flows.
Updated: 8/20/2010 7:26 PM Les Munday Universe, 2010 Page 11 of 21
Analysis Through Pictures Moving From A BUC To AUCs
Version 0.1 Chapter 13
A Maintain Restaurant AUC will capture the functionality associated with assigning customers
to tables.
The ‘Initiate Menu’, ‘Browse Menu’, ‘Order From Menu’ and ‘Deliver Menu Order’ CUCs are
closely related. These are combined into a single use case named; ‘Order From Menu’.
Request Assistance remain as independent application use cases.
Inform Meal Ready is captured with ‘Fulfill Menu Order’ AUC. (This AUC will be concerned
with billing the customer, in a future iteration of the application.)
13.3.6 Build An AUC Diagram
The AUCs are transferred to their own AUC diagram. The actors that are related to the CUCs are
added to the diagram and shown as being related to the now consolidated AUCs.
Maintain Restaurant
Head Waiter
Customer Kitchen
Request Assistance
Kitchen Customer
Cashier
customerAssignedToTable
Displaying Instructions
menuSelected
customerCancelled
Displaying Menu Categories
Customer Cancelled
categorySelected
customerCancelled
categorySelected Selecting Category Items
orderUnconfirmed
Customer Cancelled
categoryCommandEntered
Command? itemSelected
Displaying Selected Item
orderSelected
customerCancelled
Displaying Order
Customer Cancelled Customer Cancelled
orderCommandEntered
Order Confirmed?
orderConfirmed
confirmedOrderDisplayed confirmedOrderDisplayed
Order Completed
Kitchen
2
Figure 13: AUC Activities With Objects
Figure 13: shows potentially impacted objects for the Order From Menu AUC. Each activity has
input data and an output recipient. The customer in this case, is an object retained by the system
to represent the customer initiating the use case, and is not the same as the primary actor of the
AUC.
The object descriptions are as follows:
Customer – This object represents the user interface to the customer table.
Menu – This object represents the menu layout in terms of categories.
Category – This object represents an available category and all of the menu items that are
available within the category.
2
For some reason, when copying activity diagrams, Visio insists on removing the labels from the control flows.