
Take care to select the correct role—in this example, the predicate is displayed in
reverse order to that shown on the diagram. Read the constraint verbalization to ensure
this is consistent with your intention, and press the Apply button. The tool now displays
“>=5” next to the relevant role on the ORM diagram and resets the entries in the Add
Dialog window.
To add the frequency constraint on the quaternary predicate, choose Frequency as the
Constraint type, select the Patient and Instant roles, and then set both the Minimum fre-
quency and Maximum frequency to 2, as shown in Figure 5–24. Check the verbalization
and then press OK to apply the constraint ...