Validating UML models and diagrams

At any time during the construction of a UML model or diagram, you can check that it complies with the defined constraints and ensure that no broken cross-model references exist.

Before you begin

You must have a model open in the Modeling perspective and you must enable at least one constraint category in the Validation preferences.

About this task

There are three levels of model validation severity:

Procedure

  1. To validate a model, diagram, or model element, right-click the item; then click Validate. Any violations are listed in the Problems view.
  2. To view the subject of a validation error or warning, in the Problems view, right-click an error or warning; then click Go To. The involved model elements are selected in the Project Explorer view. The list of validation errors is also displayed in the Alerts and Action Items section of the UML Model Editor.

Feedback