Multiplicity

When BOM class attributes and compositions are defined, the developer can define how many values the attribute can or must have.

When defining the multiplicity for an attribute, content assist is available by typing Ctrl-SPACE. You can then select one of the following options:

It should be noted, however, that multiplicity can have other values, such as the following:

Multiplicity Meaning
2..3 There must be 2 or 3
4 There must be 4
4..* There must be 4 or more

If there can be more than one element, you use a JavaScript array.