Search⌘ K

Eliminate Associations from the Design Model

Let’s learn how to eliminate associations from the design model.

Replace associations with reference properties

In the case of our running example, the Publisher-Book-Author information design model, we have to replace both unidirectional associations with suitable reference properties.

In the first step, we replace the many-to-one association Book-has-Publisher in the model on the left with a functional reference property publisher in the class Book. This results in the OO class model shown on the right:

The Publisher-Book model with a unidirectional association
An OO class model for Publisher and Book

Notice that since the target association end of the Book-has-Publisher ...