Write difference between cardinality and modaling.
Cardinality
|
Modality
|
Cardinality defines the range of object-to object Relationships
|
Modality indicates whether or not a relationship between objects is mandatory
|
Expected Values are 1:1 , 1:N, N:M
|
Expected values are 0 or 1 only
|
It does not, however, provide an indication of whether or not a particular data object must participate in the relationship.
|
It provides indication of participation in the relationship by having values as 1, if value is 0 no participation in relationship will exist.
|
It gives maximum numbers occurrences in relationship
|
It gives minimum numbers occurrences in relationship
|