Chapter 9. Working with Sequence Diagrams

What You'll Learn in This Hour:

  • What a sequence diagram is

  • How to apply a sequence diagram

  • How to model the creation of an object

  • How to work with some UML 2.0 additions to sequence diagrams

  • Where sequence diagrams fit in the big picture of the UML

The state diagrams you learned about in the last hour zoom in on a single object. They show the changes an object goes through.

The UML enables you to expand your field of view and show how an object interacts with other objects. In this expanded field of view, you'll include an important dimension—time. The key idea here is that interactions among objects take place in a specified sequence, and the sequence takes time to go from beginning to end. When you create a ...

Get Sams Teach Yourself UML in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.