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 25—Modeling the Static View: The Component Diagram 259<br />

<br />

receiving.exe<br />

<br />

purchaseorder.dll<br />

Figure 25-6<br />

Step 2: Adding a library component and drawing the dependency<br />

3. Figure 25-7 adds two more resource components. The product.dll component allows<br />

the Receiving application to update the product status to received. The inventory.dll<br />

component supports checks on the availability of locations where they can<br />

put the new product. It then adds the dependency from the Receiving.exe to the<br />

product.dll to show that the Receiving.exe needs access to the product.dll, and the<br />

dependency from the Receiving.exe to the inventory.dll to show that the<br />

Receiving.exe needs access to the inventory.dll in order to update inventory.<br />

<br />

receiving.exe<br />

<br />

purchaseorder.dll<br />

<br />

product.dll<br />

<br />

inventory.dll<br />

Figure 25-7 Step 3: Adding two more resource components and the dependencies<br />

4. Figure 25-8 adds the client application that manages the user interface. The<br />

Receiving application provides the PO (or Purchase Order) interface. Figure 25-8<br />

models the interface using the lollipop notation. The user interface application<br />

(ui.exe) accesses the Receiving application using the PO interface. This access is<br />

modeled as a dependency from ui.exe to the PO lollipop style interface to illustrate<br />

that the ui.exe will not work properly unless it can access the receiving application<br />

through the PO interface.

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

Saved successfully!

Ooh no, something went wrong!