Abbreviation

TagMult2

Description

This validation rule checks if the number of tag values is in the multiplicity range. The validation rule is triggered if there are fewer values than the set multiplicity range.

Severity

warning

Constrained Element

TaggedValue

Solvers

  • To fix this, make sure the number of tag values is not lower than the specified multiplicity range.

Example


The Stereotype Car has a tag definition airbags with a multiplicity of two or more. The class Car Model 1 with the applied stereotype Car has the airbags tag specified with only one value, which causes an error.
The error is resolved by specifying two values.