Ch03 - The Enhanced E-R Model
Ch03 - The Enhanced E-R Model
12th Edition
Global Edition
a) EER
notation
Figure 3-1 Basic notation for supertype/subtype notation (cont.)
b) Microsoft
Visio
Notation
Different modeling tools may have different notation for the same
modeling constructs.
Figure 3-2 Employee supertype with three subtypes
So we put
the shared
attributes in
a supertype
Only applies to
manufactured parts
Created 2
subtypes
a) Disjoint rule
Figure 3-7 Examples of disjointness constraints (cont.)
b) Overlap rule
Figure 3-8 Introducing a subtype discriminator (disjoint rule)
Figure 3-9 Subtype discriminator (overlap rule)
Figure 3-10 Example of supertype/subtype hierarchy
Employee Type (
Employee?: Y-N
Alumnus?: Y-N
Student?: Y-N)
Figure 3-13a
Possible entity
clusters for Pine
Valley Furniture in
Microsoft Visio
Related
groups of
entities could
become
clusters
Figure 3-13b EER diagram of PVF entity clusters
More readable,
isn’t it?
Figure 3-14 Manufacturing entity cluster
Packaged data
models are
generic models
that can be
customized for a
particular
organization’s
business rules.
Figure 3-15 PARTY, PARTY ROLE, and ROLE TYPE in
a universal data model