Built in validation rules

Navigation:  Settings > Edit Reference Model Settings >

Built in validation rules

Previous pageReturn to chapter overviewNext page

When you validate a meta-model against a reference model, Model Expert apply a set of rules.

These rules can be customized:

 

Customization

Description

See Also

Change text

The text, as seen by the user can be customized, either by re-wording the supplied text, or translating into your national language.

Do this by editing the text in the list


Changing the severity

The severity of all validation rules can also be changed


Disable rule

To stop a rule from running, set the severity to zero.


 

Validation Rule details

Elements

Rule explanation

How to activate the rule

Violation message text (editable)

Default severity (editable)

Checks that the element type is in the reference model

Add or remove meta-classes from the reference model

Element type not in model

10

Checks that the element stereotype is in the reference model

Add or remove stereotypes of meta-classes

Element stereotype not in model

8

 

Connectors

Rule explanation

How to activate the rule

Violation message text (editable)

Default severity (editable)

Checks that the relationship type is in the reference model

Add or remove meta-connectors from the meta-model diagram

Relationship type not in model

10

Checks that the relationship stereotype is in the reference model

Add or remove meta-connector stereotypes from the meta-model diagram

Relation stereotype not in model

8

Checks the multiplicity between two element types

Add multiplicities to the meta-model diagram

Incorrect multiplicity

5

For 1..* multiplicities, checks there is at least one element"

Too few related elements

5

For 0..X multiplicities, checks there are not too many related elements

Too many related elements"

5

 

Attributes

 

Rule explanation

Violation message text (editable)

Default severity (editable)

Checks that an attribute (standard or Tagged Value) with a non-default value is in the meta-model, but not in the reference model

Meta-model attribute is not in the reference metamodel"

2

Checks that each attribute in the reference model, and which is defined as 'required' is present in the meta-model

Attribute defined in the Reference model is not in the meta model

4

 

You can set the default values for any attribute via the Model expert settings.