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 13. Composite Structures

One of the most significant new features in UML 2 is the ability to hierarchically decompose a class into an internal structure. This allows you to take a complex object and break it down into parts.

Figure 13.1 shows a TV Viewer class with its provided and required interfaces (page 69). I’ve shown this in two ways: using the ball-and-socket notation and listing them internally.

Two ways of showing a TV viewer and its interfaces

Figure 13.1. Two ways of showing a TV viewer and its interfaces

Figure 13.2 shows how this class is decomposed internally into two parts and which parts support and require the different interfaces. Each part is named in the form name : class ...

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