O'Reilly logo

UML™ Bible by Tom Pender

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 9

Modeling Interactions in UML 2.0

images

In This Chapter

  • Modeling a Sequence diagram
  • Modeling frames and lifelines
  • Modeling messages and event occurrences
  • Modeling interactions and interaction occurrences
  • Modeling a Communication diagram
  • Modeling an Interaction Overview diagram
  • Modeling a decision, fork and join, and merge
  • Modeling a Timing diagram

images

UML 2.0 models object interactions using the following four different, but related diagrams. The diversity of the diagrams reflects the many reasons for evaluating interactions in a system design.

  • A Sequence diagram is a time-oriented view of the interaction between objects to accomplish a behavioral goal of the system. An interaction may be modeled at any level of abstraction within the system design, from subsystem interactions to instance-level interaction for a single operation or activity.
  • A Communication diagram is a structural view of the messaging between objects, taken from the Collaboration diagram concept of UML 1.4 and earlier versions.
  • An Interaction Overview diagram is a high-level view of sets of interactions combined into a logic sequence, including flow-control logic to navigate between the interactions.
  • A Timing diagram is an optional diagram designed to specify the time constraints on messages sent and received ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required