Adding Constraints to a Design Model

Let’s learn how to add constraints to a design model.

We'll cover the following

Design model

We’re going to consider the book data management problem again, but this time, we’ll also consider the data integrity rulesthat govern the management of book data. These integrity rules, or constraints, can be expressed in a UML class diagram as shown in the figure below:

Get hands-on with 1400+ tech skills courses.