UML Weekend Crash Course⢠- To Parent Directory
UML Weekend Crash Course⢠- To Parent Directory UML Weekend Crash Course⢠- To Parent Directory
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.
- Page 33 and 34: 10 Friday Evening The Continuing Re
- Page 36 and 37: SESSION 2 UML and Development Metho
- Page 38 and 39: Session 2—UML and Development Met
- Page 40 and 41: Session 2—UML and Development Met
- Page 42 and 43: Session 2—UML and Development Met
- Page 44 and 45: Session 2—UML and Development Met
- Page 46 and 47: SESSION 3 How to Approach the UML S
- Page 48 and 49: Session 3—How to Approach the UML
- Page 50 and 51: Session 3—How to Approach the UML
- Page 52 and 53: Session 3—How to Approach the UML
- Page 54 and 55: Session 3—How to Approach the UML
- Page 56: Session 3—How to Approach the UML
- Page 59 and 60: 36 Friday Evening Remember to pay c
- Page 61 and 62: 38 Friday Evening Constraints The s
- Page 63 and 64: 40 Friday Evening An Inventory Cont
- Page 65 and 66: 42 Friday Evening Performance How
- Page 67 and 68: 44 Friday Evening In the effort to
- Page 70 and 71: Part II — Saturday Morning Sessio
- Page 72 and 73: SESSION 5 Understanding the Use Cas
- Page 74 and 75: Session 5—Understanding the Use C
- Page 76 and 77: Session 5—Understanding the Use C
- Page 78 and 79: Session 5—Understanding the Use C
- Page 80 and 81: Session 5—Understanding the Use C
- Page 82: Session 5—Understanding the Use C
- Page 87 and 88: 64 Saturday Morning What does the
- Page 89 and 90: 66 Saturday Morning For example, th
- Page 91 and 92: 68 Saturday Morning REVIEW The goal
- Page 93 and 94: 70 Saturday Morning Much of this la
- Page 95 and 96: 72 Saturday Morning You reply that
- Page 97 and 98: 74 Saturday Morning Writing a Use C
- Page 99 and 100: 76 Saturday Morning Use Case dialog
- Page 101 and 102: 78 Saturday Morning Table 7-7 The F
- Page 104 and 105: SESSION 8 Identifying the Use Case
- Page 106 and 107: Session 8—Identifying the Use Cas
- Page 108 and 109: Session 8—Identifying the Use Cas
- Page 110 and 111: Session 8—Identifying the Use Cas
- Page 112 and 113: Session 8—Identifying the Use Cas
- Page 114: Session 8—Identifying the Use Cas
- Page 117 and 118: 94 Saturday Morning The Class diagr
- Page 119 and 120: 96 Saturday Morning Attribute visib
- Page 121 and 122: 98 Saturday Morning In a modeling t
- Page 123 and 124: 100 Saturday Morning Table 9-2 Cont
- Page 125 and 126: 102 Saturday Morning Operation comp
- Page 128 and 129: SESSION 10 The Class Diagram: Assoc
- Page 130 and 131: Session 10—The Class Diagram: Ass
- Page 132 and 133: Session 10—The Class Diagram: Ass
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.