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.

SESSION<br />

16<br />

Modeling the Dynamic View:<br />

The Sequence Diagram<br />

Session Checklist<br />

✔ Reviewing the dynamic view<br />

✔ Defining the purpose of the Sequence and Collaboration diagrams<br />

✔ Modeling the Sequence diagram notation<br />

The static view (Class and Object diagrams) represents how the objects are defined and<br />

arranged into a structure. It does not tell you how the objects behave when you put<br />

them to work. In contrast, the dynamic view represents the interactions of the objects<br />

in a system. The dynamic view contains diagrams specifically designed to model how the<br />

objects work together. It can represent how the system will respond to actions from the<br />

users, how it maintains internal integrity, how data is moved from storage to a user view,<br />

and how objects are created and manipulated.<br />

Understanding the Dynamic View<br />

Because system behaviors can be complex, the dynamic view tends to look at small, discrete<br />

pieces of the system like individual scenarios or operations. You may not see the dynamic<br />

view used as extensively as the Class diagram, simply because not all behaviors are complicated<br />

enough to warrant the extra work involved. Even so, the Class diagram and the diagrams<br />

of the dynamic view are the most often used diagrams in projects because they most<br />

directly reveal the specific features required in the final code.

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

Saved successfully!

Ooh no, something went wrong!