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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents<br />

xvii<br />

Session 6–Building the Use Case Diagram ....................................................61<br />

Building the Use Case Diagram for the Case Study ......................................61<br />

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

Step 2: Identify the actors ....................................................................62<br />

Step 3: Identify the Use Cases ...............................................................63<br />

Step 4: Define the associations between actors and Use Cases ........................64<br />

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

Step 6: Evaluate the Use Cases for dependencies ........................66<br />

Step 7: Evaluate the Use Cases for dependencies .........................66<br />

Step 8: Evaluate the actors and Use Cases for generalization .........................67<br />

Session 7–Building the Use Case Narrative ...................................................69<br />

Elements of a Use Case Narrative ............................................................69<br />

Assumptions .....................................................................................70<br />

Pre-conditions ...................................................................................70<br />

Use Case initiation .............................................................................71<br />

Dialog .............................................................................................71<br />

Use Case termination ..........................................................................72<br />

Post-conditions ..................................................................................72<br />

Additional narrative elements ...............................................................73<br />

Writing a Use Case Narrative for the Case Study ........................................74<br />

Assumptions in the case study narrative ..................................................75<br />

Pre-conditions in the case study narrative ................................................75<br />

Use Case initiation in the case study narrative ...........................................75<br />

Use Case dialog in the case study narrative ...............................................76<br />

Use Case termination in the case study narrative .......................................77<br />

Post-conditions in the case study narrative ...............................................77<br />

Session 8–Identifying the Use Case Scenarios ..............................................81<br />

Describing Use Case Scenarios ...............................................................81<br />

Why you should care about Use Case scenarios ...........................................82<br />

How to find Use Case scenarios ..............................................................83<br />

Finding Use Case scenarios for the case study ............................................84<br />

Applying Use Case scenarios .................................................................90<br />

Session 9–Modeling the Static View: The Class Diagram .................................93<br />

The Object Model ..................................................................................93<br />

The Class diagram ...............................................................................94<br />

The Object diagram .............................................................................95<br />

Elements of the Class Definition .............................................................95<br />

Modeling an Attribute ...........................................................................95<br />

Attribute visibility .............................................................................96<br />

Creating an attribute specification .........................................................97<br />

Modeling an Operation ..........................................................................98<br />

Elements of an operation specification ....................................................98<br />

Creating an operation specification .........................................................99

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

Saved successfully!

Ooh no, something went wrong!