Skip to Content
UML Distilled: A Brief Guide to the Standard Object Modeling Language, Third Edition
book

UML Distilled: A Brief Guide to the Standard Object Modeling Language, Third Edition

by Martin Fowler
September 2003
Intermediate to advanced
208 pages
4h 15m
English
Addison-Wesley Professional
Content preview from UML Distilled: A Brief Guide to the Standard Object Modeling Language, Third Edition

Chapter 15. Collaborations

Unlike the other chapters in this book, this one does not correspond to an official diagram in UML 2. The standard discusses collaborations as part of composite structures, but the diagram is really quite different and was used in UML 1 without any link to composite structures. So I felt it best to discuss collaborations as their own chapter.

Let’s consider the notion of an auction. In any auction, we might have a seller, some buyers, a lot of goods, and some offers for the sale. We can describe these elements in terms of a class diagram (Figure 15.1) and perhaps some interaction diagrams (Figure 15.2).

A collaboration with its class diagram of roles

Figure 15.1. A collaboration ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition

Craig Larman
Systems Analysis and Design with UML, 4th Edition

Systems Analysis and Design with UML, 4th Edition

Alan Dennis, Barbara Haley Wixom, David Tegarden
Design Patterns: Elements of Reusable Object-Oriented Software

Design Patterns: Elements of Reusable Object-Oriented Software

Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides

Publisher Resources

ISBN: 0321193687Purchase book