You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

You can create your own validation rules in the model and use them to check your model or keep them only for documentation purpose. You can locate new validation rules anywhere in your model, but usually they are created for the classifier, stereotype, or metaclass.


  1. Create new Constraint element.
  2. Apply «validationRule» stereotype.
  3. Specify Constraint Element property.
  4. Specify the validation rule properties.
  5. Define Constraint expression.
    The new validation rule is created in the model.


Managing new validation rule

You can include a new validation rule to your own created validation suite.

You can manage new validation rules in your model as any other elements.


Related pages


Related pages in Developer Guide