Chapter 3 Abstract
Chapter 3 Abstract
Based on
Object Inheritance
Oriented
Programming
Subtype
Generalization
Specialization:
The process of defining one or more subtypes of the supertype.
TOP-DOWN
a) EER
notation
specialization circle
(IsA relationship)
Inheritance symbol
(subset symbol)
Completeness Constraints:
Total Specialization (double line)
Partial Specialization (single line)
Partial Constraints
Disjoint ( d )
Overlap ( o )
Chapter 3 © 2013 Pearson Education, Inc. Publishing as Prentice Hall 8
Partial
Completeness
Constraints
Constraints
Total Specialization
A superclass entity belongs to Overlap
a subclass in hierarchy An instant of superclass
belongs to more than one
subclass
Ex: student works in University
Partial
Specialization
A superclass entity
does not belong to any
subclass Disjoint
Ex: Stack Holder An instant of
superclass
belongs to one
subclass
Case 1
Related
groups of
entities could
become
clusters
More readable,
isn’t it?