Cardinality

The Cardinality Values tab of the UML Types dialog enables you to add, modify and delete values in the default cardinality list.

The cardinality values are used to define the multiplicity of source and target elements in relationships. This is the range of instances of the role that can be active in the relationship; for example, one employee can be assigned to tasks; for the target role you define the range of instances (such as tasks) the employee could be assigned to.

The cardinality values are also used to define the multiplicity of a Classifying element; that is, the number of instances of the element that can exist. For example, the Class element Building Walls might have a multiplicity of 2..n, meaning that at least two walls must exist (to support the roof) but there can be many walls if the building design required it.

The values have the following formats:

•

*, or 0..* - zero, one or many instances

•

0..n - zero or up to n instances, but no more than n

•

n - exactly n instances

•

n..* - n, or more than n instances.

Access Settings | UML Types > Cardinality Values

Reference

Field

Usage

See also

Cardinality

Type the new name of the Cardinality Value.

New

Type a description of the Cardinality Value.

Save

Saves the Cardinality value and adds it to the Cardinality List.

Delete

Deletes a Cardinality value from the Cardinality List.

Cardinality List

A list of already defined Cardinality values.

Notes

•

You can transport these cardinality values between models, using the Export Reference Data and Import Reference Data options