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 24—Modeling the Development Environment 251<br />

<br />

Purchasing<br />

<br />

Receiving<br />

<br />

Shipping<br />

Figure 24-9<br />

Step 3: Adding a dependency<br />

4. Stereotype the dependency between Receiving and Purchasing as to<br />

show that Receiving makes references to classes within Purchasing by adding them<br />

into its own set of classes at run time. Figure 24-10 shows the addition of the<br />

stereotype.<br />

<br />

Purchasing<br />

<br />

<br />

Receiving<br />

<br />

Shipping<br />

Figure 24-10<br />

Step 4: Adding the dependency stereotype<br />

5. Add the stereotype to the dependency between Shipping and<br />

Receiving to show that Shipping needs to communicate with classes within<br />

Receiving without actually making them part of the Shipping subsystem at run<br />

time. Instead, the classes in the Shipping subsystem will make calls to one or more<br />

classes in Receiving. Figure 24-11 places the stereotype on the dashed<br />

dependency arrow between Shipping and Receiving.

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

Saved successfully!

Ooh no, something went wrong!