Académique Documents
Professionnel Documents
Culture Documents
OBJECTIVES
Define terms
Understand use of supertype/subtype relationships
Understand use of specialization and
generalization techniques
Specify completeness and disjointness constraints
Develop supertype/subtype hierarchies for realistic
business situations
Develop entity clusters
Explain universal (packaged) data model
Describe special features of data modeling project
using packaged data model
2
Attribute Inheritance:
b)
Microsoft
Visio
Notation
GENERALIZATION AND
SPECIALIZATION
10
So we put
the shared
attributes in
a supertype
11
Only applies to
manufactured parts
12
Created 2
subtypes
CONSTRAINTS IN
SUPERTYPE/SUBTYPE
Completeness Constraints :
RELATIONSHIPS
14
15
16
CONSTRAINTS IN
SUPERTYPE/SUBTYPE
Disjointness Constraints:
RELATIONSHIPS
Whether
17
18
19
CONSTRAINTS IN
SUPERTYPE/SUBTYPE
Subtype Discriminator : An attribute
RELATIONSHIPS
of the supertype whose values determine
the target subtype(s)
21
22
23
ENTITY CLUSTERS
24
Figure 3-13a
Possible entity
clusters for Pine
Valley Furniture in
Microsoft Visio
Related
groups of
entities could
become
clusters
25
More readable,
isnt it?
26
ADVANTAGES OF PACKAGED
DATA MODELS
Packaged data
models are
generic models
that can be
customized for a
particular
organizations
business rules.
30
31