Modeling Interactions in UML 1.4


In This Chapter

  • Modeling behavior with UML 1.4 and UML 2.0
  • Modeling object lifelines
  • Modeling messages
  • Mapping messages to operations
  • Modeling various types of messages
  • Modeling iteration and recursion
  • Modeling object creation and termination
  • Modeling object activation and focus of control
  • Modeling the Collaboration diagram
  • Evaluating the difference between the Sequence and Collaboration diagrams
  • Integrating the Sequence and Collaboration diagrams with the Class diagram


In Chapter 3, I provided an overview of the UML diagrams. I distinguished their use around three general headings: structural diagrams, behavioral diagrams, and model management diagrams. The structural diagrams (class, object, component, and so forth) represent how the objects are defined and how they are related to one another. They do not represent how the objects behave when you put them to work. In contrast, the behavioral diagrams represent how the objects work using the structure already defined in the other diagrams. This dynamic view contains diagrams specifically designed to model how the objects communicate in order to accomplish tasks within the operation of the system. They can represent how the system responds to actions from the users, how it maintains ...

Get UML™ Bible now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.