01.01.2015 Views

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Session 6—Building the Use Case Diagram 65<br />

An association between ShipOrder and OrderProcessingSystem. “They also notify<br />

the Order Processing department that the order has shipped. The clients want the<br />

new system to handle the notification to Order Processing.”<br />

An association between StockClerk and Stock Product. “The stock clerk looks up<br />

the correct location for the new products, places the products in that location, and<br />

updates the location inventory with the product quantity.”<br />

An association between FillOrder and OrderProcessingSystem. “They also notify<br />

the Order Processing department that the order has been filled. The clients want the<br />

new system to handle the notification to Order Processing.”<br />

An association between OrderFulfillment and LocateProduct. “Other staff members<br />

fill orders by locating the products required for the order.”<br />

Receiving<br />

ReceiveProduct<br />

<br />

AccountsPayableSystem<br />

Shipping<br />

ShipOrder<br />

FillOrder<br />

<br />

OrderProcessingSystem<br />

Stock Clerk<br />

OrderFulfillment<br />

StockProduct<br />

LocateProduct<br />

Figure 6-3<br />

Associations from the problem statement<br />

Step 5: Evaluate the actors and Use Cases to find opportunities for refinement<br />

Rename, merge, and split actors and Use Cases as needed. When you build your diagrams<br />

based on interviews with users, it is easy to fall into the trap of replicating the current<br />

system (see Session 4). From your first draft of the descriptions of the actors and Use<br />

Cases, start asking critical questions, especially the simple but powerful question, “Why”<br />

For example, ask, “Why is this actor responsible for these particular duties” or “Why do<br />

these tasks have to be done together, separately, in this order, or done at all” A system<br />

rewrite or major revision provides a great opportunity to clean house and address a lot of<br />

the legacy problems that have accumulated over time.

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

Saved successfully!

Ooh no, something went wrong!