Abbreviation

SlotMult1

Description

This validation rule checks if the number of specified Slot Values does not exceed the multiplicity defined for the Defining Feature.

Severity

error

Constrained Element

Slot

Solvers

  • Remove last value(s) - removes the Slot Value(s) starting from the last one, leaving only the number of values corresponding to the specified multiplicity.  
  • Increase multiplicity - increases the Defining Feature's multiplicity by one integer.

Example

The Enumeration element Car Models has the Doors property with the multiplicity set to 1 and Enumeration Literals that inherit that property as a Slot Value. The Enumeration Literal Coupe has the Slot Doors specified with 2 values (4 and 2), which causes an error since the property Doors has the multiplicity of 1, allowing it to have only one value for the Slot. 
The error is resolved via the Remove last value(s) solver.