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:

Get hands-on with 1200+ tech skills courses.