Professional Documents
Culture Documents
Objectives: The Enhanced E-R Model
Objectives: The Enhanced E-R Model
Objectives: The Enhanced E-R Model
Lecture 5
Define terms
Understand use of supertype/subtype relationships
Use specialization and generalization techniques
Specify completeness and disjointness constraints
Develop supertype/subtype hierarchies for realistic
business situations
Develop entity clusters
a) EER
notation
3-2
Attribute Inheritance:
Chapter 3
3-3
Chapter 3
3-4
b) Microsoft
Visio
Notation
Different modeling tools may have different notation for the same
modeling constructs.
Chapter 3
3-5
Chapter 3
3-6
Chapter 3
3-7
Chapter 3
3-8
Generalization: The
process of defining
a more general entity type from a set of
more specialized entity types. BOTTOM-UP
Specialization: The
process of defining
one or more subtypes of the supertype
and forming supertype/subtype
relationships. TOP-DOWN
Chapter 3
3-9
3-10
So we put
the shared
attributes in
a supertype
Only applies to
manufactured parts
3-11
Chapter 3
3-12
CONSTRAINTS IN SUPERTYPE/SUBTYPE
RELATIONSHIPS
Completeness
Created 2
subtypes
Total
3-13
Chapter 3
Constraints: Whether
3-15
line)
Partial Specialization Rule: No (single
line)
Chapter 3
3-14
Chapter 3
3-16
CONSTRAINTS IN SUPERTYPE/SUBTYPE
RELATIONSHIPS
Disjointness
a) Disjoint rule
Constraints: Whether an
3-17
Chapter 3
3-18
CONSTRAINTS IN SUPERTYPE/SUBTYPE
RELATIONSHIPS
Subtype
3-19
Chapter 3
3-20
Chapter 3
3-21
Chapter 3
3-22
ENTITY CLUSTERS
EER
3-23
Chapter 3
3-24
Related
groups of
entities could
become
clusters
Chapter 3
More readable,
isnt it?
3-25
3-27
Chapter 3
3-26