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 14. Component Diagrams

A debate that’s always ranged large in the OO community is what the difference is between a component and any regular class. This is not a debate that I want to settle here, but I can show you the notation the UML uses to distinguish between them.

UML 1 had a distinctive symbol for a component (Figure 14.1). UML 2 removed that icon but allows you to annotate a class box with a similar-looking icon. Alternatively, you can use the «component» keyword.

Notation for components

Figure 14.1. Notation for components

Other than the icon, components don’t introduce any notation that we haven’t already seen. Components are connected through implemented ...

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