Week 8 - EER
Week 8 - EER
Week 8 - EER
Relationship (EER)
Modeling
• EER stands for Enhanced ER or Extended ER
• Disjointness Constraint:
• Specifies that the subclasses of the specialization must be disjoint:
• an entity can be a member of at most one of the subclasses of the
specialization
• Specified by d in EER diagram
• If not disjoint, specialization is overlapping:
• that is the same entity may be a member of more than one subclass of
the specialization
• Specified by o in EER diagram
CONSTRAINTS ON SPECIALIZATION AND
GENERALIZATION
• Completeness Constraint:
• Total specifies that every entity in the superclass must be a member of some
subclass in the specialization/generalization
• Shown in EER diagrams by a double line
• Partial allows an entity not to belong to any of the subclasses
• Shown in EER diagrams by a single line
CONSTRAINTS ON SPECIALIZATION AND
GENERALIZATION