Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Topic
Prev Next

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 these 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

Ribbon

Configure > Reference Data > UML Types > Cardinality Values

Reference

Field

Action

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 'Configure > Model > Transfer > Export Reference Data' and 'Import Reference Data' ribbon options

Learn more