CHAPTER 8

Modeling Interactions in UML 1.4

images

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

images

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 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.