O'Reilly logo

Visual Modeling with Rational Rose 2002 and UML by Terry Quatrani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Finding Relationships

Scenarios are examined to determine if a relationship should exist between two classes. Messages between objects mean that the objects must communicate with each other. Associations and/or aggregations provide the pathway for communication.

Relationships may also be discovered based on the signature of an operation. This is discussed in Chapter 7.

Relationships in the ESU Course Registration Problem

In the Add a Course Offering scenario, the communicating objects along with the relationship-type decisions that have been made are shown in Table 6-1.

Table 6-1. Class Relationships
Sending ClassReceiving ClassRelationship Type
ProfessorCourseOptions AddACourseOffering Aggregation
AddACourseOffering ProfessorCourseManager Association ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required