Abbreviation

SlotMult2

Description

This validation rule checks if the number of Slot 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

Slot

Solvers

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

Example

The Instance Specification car Models is typed by the Class Car Models, which as an attribute Sedan typed by an Enumeration Airbag Types with the multiplicity set to four. The Instance Specification's Slot Sedan is specified with one value instead of four causing the error.
The error is resolved by specifying the Slot with four values.