Abbreviation

LackOfTagVal

Description

This validation rule checks that if the stereotype's tag definition multiplicity is 1, only one value to a slot is allowed.

Severity

warning

Constrained Element

Element

Solvers

  • To fix this, make sure the tag has exactly 1 value. 

Example

The Car stereotype contains a tag definition gearTransmission with the multiplicity set to one. The class Sedan with the applied stereotype Car does not have the gearTransmission tag specified with a value, which causes an error.
The error is resolved by specifying the gearTransmission tag with a value.