Chapter 5

Relationships

When you build abstractions, you’ll discover that very few of your classes stand alone. Instead, most of them collaborate with others in a number of ways. Therefore, when you model a system, not only must you identify the things that form the vocabulary of your system, you must also model how these things stand in relation to one another.

Advanced features of relationships are discussed in Chapter 10.

In object-oriented modeling, there are three kinds of relationships that are especially important: dependencies, which represent ...

Get The Unified Modeling Language User Guide, 2nd Edition 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.