UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory UML Weekend Crash Course™ - To Parent Directory

crnarupa.singidunum.ac.rs
from crnarupa.singidunum.ac.rs More from this publisher
01.01.2015 Views

SESSION 6 Building the Use Case Diagram Session Checklist ✔ Understanding the steps used to build a Use Case diagram ✔ Building the Use Case diagram for the case study Session 5 introduced the notation for the Use Case diagram. In this session, you find out how to build a Use Case diagram by concentrating on the case study. Building the Use Case Diagram for the Case Study The following text makes up the description of the case study. I refer to this as the problem statement. Use this problem statement as your source for the information needed to build the Use Case diagram. You will see the problem statement change from session to session. This is necessary within the book because I need to tailor the problem so that you Note will have an opportunity to use as many of the new concepts as possible in each session. Receiving: The receiving clerks receive incoming shipments by matching purchase orders against the stock in the shipment. They inform the Accounts Payable department when the purchase order items have been received. The clients want the new system to handle the notification automatically. Stocking: The products may come from cancelled orders, returned orders, or vendor shipments. The products are placed in the warehouse in predefined locations. The stock clerk looks up the correct location for the new products, places the products in that location, and updates the location inventory with the product quantity.

62 Saturday Morning Order Fulfillment: Other staff members fill orders by locating the products required for the order. As they fill the order they update inventory to reflect the fact that they have taken the products. They also notify the Order Processing department that the order has been filled. The clients want the new system to handle the notification to Order Processing. Shipping: When the orders are filled, they are then packed and prepared for shipping. The shipping folks contact the shippers to arrange delivery. They then update inventory after they ship the product. They also notify the Order Processing department that the order has shipped. The clients want the new system to handle the notification to Order Processing. I don’t for a second want to give the impression that this is the only way to build Use Case diagrams. But to get you started, I’m offering these steps as a guide. When you become comfortable with the Use Case concepts, you’ll undoubtedly develop your own preferences and write me a wonderful letter full of ideas on how I can improve this book. I thank you in advance. For now, this should give you a solid start. Step 1: Set the context of the target system Context always comes first. Context provides the frame of reference for the information you’re evaluating. Context defines the placement of the system within the business, including the work processes, business plans and objectives, other systems, people and their job duties, and constraints imposed by external entities like government and contractual agreements. According to the problem statement, the participants: “. . . inform the Accounts Payable department” “. . . notify the Order Processing department” “. . . contact the shippers” The context places the system within the warehouse operations, working closely with Order Processing and Accounts Payable, and with shippers. Tip You can see also how establishing the context begs questions about the scope (for example, where exactly is the boundary of responsibility between Accounts Payable and Inventory Control). Step 2: Identify the actors Find the people, systems, or devices that communicate with the system. The system-type actors are often easiest to spot as interfaces and external communication, such as notifications to the Accounts Payable and Order Processing systems. The other actors will be participants in the operation of the Inventory Control system. All these users will become your sources for finding and validating the required features of the system (that is, Use Cases). The problem statement referred to two system-type actors, shown in Figure 6-1: “They inform the Accounts Payable department when the purchase order items have been received.” The Accounts Payable System must know when the company has incurred a liability for a shipment.

62<br />

Saturday Morning<br />

Order Fulfillment: Other staff members fill orders by locating the products required for<br />

the order. As they fill the order they update inventory to reflect the fact that they have<br />

taken the products. They also notify the Order Processing department that the order has<br />

been filled. The clients want the new system to handle the notification to Order Processing.<br />

Shipping: When the orders are filled, they are then packed and prepared for shipping. The<br />

shipping folks contact the shippers to arrange delivery. They then update inventory after<br />

they ship the product. They also notify the Order Processing department that the order has<br />

shipped. The clients want the new system to handle the notification to Order Processing.<br />

I don’t for a second want to give the impression that this is the only way to build Use<br />

Case diagrams. But to get you started, I’m offering these steps as a guide. When you become<br />

comfortable with the Use Case concepts, you’ll undoubtedly develop your own preferences<br />

and write me a wonderful letter full of ideas on how I can improve this book. I thank you in<br />

advance. For now, this should give you a solid start.<br />

Step 1: Set the context of the target system<br />

Context always comes first. Context provides the frame of reference for the information<br />

you’re evaluating. Context defines the placement of the system within the business, including<br />

the work processes, business plans and objectives, other systems, people and their job<br />

duties, and constraints imposed by external entities like government and contractual<br />

agreements.<br />

According to the problem statement, the participants:<br />

“. . . inform the Accounts Payable department”<br />

“. . . notify the Order Processing department”<br />

“. . . contact the shippers”<br />

The context places the system within the warehouse operations, working closely with<br />

Order Processing and Accounts Payable, and with shippers.<br />

Tip<br />

You can see also how establishing the context begs questions about the<br />

scope (for example, where exactly is the boundary of responsibility between<br />

Accounts Payable and Inventory Control).<br />

Step 2: Identify the actors<br />

Find the people, systems, or devices that communicate with the system. The system-type<br />

actors are often easiest to spot as interfaces and external communication, such as notifications<br />

to the Accounts Payable and Order Processing systems. The other actors will be participants<br />

in the operation of the Inventory Control system. All these users will become your<br />

sources for finding and validating the required features of the system (that is, Use Cases).<br />

The problem statement referred to two system-type actors, shown in Figure 6-1:<br />

“They inform the Accounts Payable department when the purchase order items have<br />

been received.” The Accounts Payable System must know when the company has<br />

incurred a liability for a shipment.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!