cancel
Showing results for 
Search instead for 
Did you mean: 

Difference b/w singleton & cardinality ???

Former Member
0 Kudos

hi every one,

can anybody tellme what are the difference b/w singleton and cardinality

thanks&regards,

V.Vinoth Raja

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Barile,

thanks for your reply

regards,

Vinoth Raja

Former Member
0 Kudos

Hi Vinoth,

SINGLETON:

singleton = true: This means that a child node instances exists for each parent node, not for each node element in the parent node. The content of the child node, that is, the list of the node elements it contains, changes each time the lead selection of the parent node changes.

CARDINALITY:

The cardinality (n:m) describes the foreign key relationship with regard to the number of possible dependent records (records of the foreign key table) or referenced records (records of the check table).

The left side (n) of the cardinality is defined as follows:

  • n=1: There is exactly one record assigned to the check table for each record of the foreign key table.

  • n=C: The foreign key table may contain records which do not correspond to any record of the check table because the foreign key field is empty. This can occur for example if the field of the foreign key table is optional, in which case it does not have to be filled.

The right side (m) of the cardinality is defined as follows:

  • m=1: There is exactly one dependent record for each record of the check table.

  • m=C: There is at most one dependent record for each record of the check table.

  • m=N: There is at least one dependent record for each record of the check table.

  • m=CN: There may be any number of dependent records for each record of the check table.

PS: Reward points for helpful answers.

Best regards,

Gianluca Barile