Make an OO Class Model

Let's learn about the basic procedure for creating the class model.

We'll cover the following

If we want to obtain an OO class model, we need to eliminate all classes that have reference properties that represent explicit associations. This is because classical OO programming languages don’t support explicit associations as first-class citizens.

The basic procedure

We begin our association elimination procedure with an information design model that has various kinds of unidirectional and bidirectional associations (as shown in the figure below). If the model still contains any non-directed associations, we first have to turn them into directed ones. We can do this if we make a decision on the ownership of their ends, which is typically based on navigability requirements.

Get hands-on with 1400+ tech skills courses.