MagicDraw 19.0 LTR Documentation

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. Specify Constraint Element property.
  3. Apply «invariant» and/or «validationRule» stereotype.
  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.

  • No labels