Grafo

Cardinality

Cardinality defines the number of values that an attribute should possess.

Consider the example of a Person concept with attributes for Given Name, Surname, and Nickname. Let’s say a Person should have at least one Given Name, at most one Surnameand zero or any number of Nicknames. For such a concept, choose min = 1 for Given Name.

05-06-attribute-cardinality-given-name.png

Set Surname to exact = 1.

05-07-attribute-cardinality-surname.png

Nickname would be min = 0.

05-08-attribute-cardinality-nickname.png