Database Management System 8: Enhanced ER-Model
Database Management System 8: Enhanced ER-Model
Chittaranjan Pradhan
Generalization
System 8 Constraints on
Generalization/Specia-
lization
Chittaranjan Pradhan
School of Computer Engineering,
KIIT University
8.1
Enhanced ER-Model
Specialization
Chittaranjan Pradhan
Specialization
Generalization
Specialization
Constraints on
Generalization/Specia-
The process of designating sub groupings within an entity set is lization
8.2
Enhanced ER-Model
Specialization...
Chittaranjan Pradhan
Constraints on
Generalization/Specia-
lization
Aggregation
8.3
Enhanced ER-Model
Generalization
Chittaranjan Pradhan
Generalization Specialization
Constraints on
a containment relationship that exists between a higher-level Generalization/Specia-
lization
entity set and one or more low-level entity sets
Aggregation
8.4
Enhanced ER-Model
Generalization...
Chittaranjan Pradhan
Specialization
Generalization
Constraints on
Generalization/Specia-
lization
Aggregation
8.5
Enhanced ER-Model
Constraints on Generalization/Specialization
Chittaranjan Pradhan
Specialization
Generalization
Constraints on
a. Condition defined or not Generalization/Specia-
lization
8.6
Enhanced ER-Model
Constraints on Generalization/Specialization...
Chittaranjan Pradhan
b. Disjoint or Overlapping
Specialization
Generalization
• Disjoint: A Disjointness constraint requires that an entity
Constraints on
belong to only one lower-level entity set Generalization/Specia-
lization
• Overlapping: In overlapping generalizations, the same Aggregation
entity may belong to more than one lower-level entity set
within a single generalization
• Lower-level entity overlap is the default case. A
disjointness constraint must be placed explicitly on a
generalization. This is done by adding the word disjoint
next to the ISA symbol
8.7
Enhanced ER-Model
Constraints on Generalization/Specialization...
Chittaranjan Pradhan
Specialization
Constraints on
Completeness constraint on a generalization/specialization Generalization/Specia-
lization
specifies whether or not an entity in the higher-level entity set Aggregation
must belong to at least one of the lower-level entity sets within
the generalization/specialization
• Total generalization/specialization: Each higher-level
entity must belong to a lower-level entity set
• Partial generalization/specialization: Some higher-level
entities may not belong to any lower-level entity set
• Partial generalization is the default. Total generalization in
an ER diagram can be specified by using a double line to
connect the box representing the higher-level entity set to
the triangle symbols
8.8
Enhanced ER-Model
Aggregation
Chittaranjan Pradhan
Specialization
Aggregation
Generalization
Aggregation
8.9
Enhanced ER-Model
Aggregation...
Chittaranjan Pradhan
Aggregation
Specialization
8.10