Abbreviation

SlotValAccMult

Description

This validation rule checks if more than one Slot Value is defined. If the Defining Feature multiplicity is 1, only one value for the Slot is allowed.

Severity

warning

Constrained Element

Slot

Solvers

  • To fix this, make sure the Slot has only one value. 

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 by removing one of the Slot Values.