I l @ ve RuBoard |
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 ProblemIn 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
A class diagram with the added relationships is shown in Figure 6-9. Figure 6-9. Relationships in the Add a Course Offering Scenario |
I l @ ve RuBoard |