Module 4 - Enhanced ER Model
Module 4 - Enhanced ER Model
Module 4 - Enhanced ER Model
Module 4
The Enhanced ER Model (EERD)
Supertypes and Subtypes
a) EER
notation
Basic notation for supertype/subtype notation (cont.)
b) Microsoft
Visio
Notation
Different modeling tools may have different notation for the same
modeling constructs
Employee supertype with three subtypes
So we put
the shared
attributes in
a supertype
Only applies to
manufactured parts
Created 2
subtypes
• Completeness Constraints:
Whether an instance of a supertype
must also be a member of at least one
subtype
– Total Specialization Rule: Yes (double line)
– Partial Specialization Rule: No (single line)
Examples of completeness constraints
A vehicle
could be a
car, a truck,
or neither
Constraints in Supertype
b) Overlap rule
Related
groups of
entities could
become
clusters
Possible entity clusters for Pine Valley Furniture
in Microsoft Visio
More readable,
isn’t it?
Manufacturing entity cluster