Chapter4 - Domain Classes
Chapter4 - Domain Classes
With notes on
whether to
include as
domain class
Example shows
instances of three
classes
Quick quiz:
Generalization/Specialization
A hierarchical relationship where subordinate classes are
special types of the superior classes. Often called an
Inheritance Hierarchy
Superclass
the superior or more general class in a
generalization/specialization hierarchy
Subclass
the subordinate or more specialized class in a
generalization/specialization hierarchy
Inheritance
the concept that subclasses classes inherit characteristics of
the more general superclass
Systems Analysis and Design in a Changing World, 6th Edition 29
Generalization/Specialization
Inheritance
A SavingsAccount
has 4 attributes
A CheckingAccount
Has 5 attributes
Note: the subclasses
inherit the
associations, too
Note: this is
composition, with
diamond symbol.
Whole part can
have multiplicity
symbols, too (not
shown)
Generalizations/Specialization Relationships
Inheritance