Download presentation
Presentation is loading. Please wait.
Published byUtami Tedjo Modified over 6 years ago
1
Domain Class Diagram Chapter 4 Part 2 pp
2
UML Class Diagrams Domain Class Diagram Design Class Diagram
In Analysis Phase, similar to the ERD Models things in the users’ problem domain Design Class Diagram In Design Phase Model software classes
3
ERD vs Domain Class Diagram
Entity Attribute Relationship Cardinality Instance Domain Class Attribute Association Multiplicity Object
4
Association Types Regular Associations Association Class
Generalization Hierarchies is-a Whole-Part Associations has-a
5
Association Class
6
Generalization Hierarchy
“is-a” aka: Generalization/Specialization Hierarchy Superclass (Base) & Subclass (Derived) Inheritance Abstract vs. Concrete Class
7
Generalization Hierarchy
8
Generalization Hierarchy
How many super classes are there? Are there any mistakes in the identification of abstract & concrete classes?
9
Whole-Part Hierarchies
“has-a” Aggregation removable parts can exist separately e.g. computer & its parts “has-a” Composition non-removable parts stronger cannot exist separately Tire Engine Car Person Leg Hand
10
Summary How many super classes are there?
How many sub classes are there? What type of class is Account? What type of classes are Savings & Checking Account? What type of class is Transaction?
11
Summary How many super classes are there?
How many sub classes are there? Is there an Association Class? What does 0..2 mean?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.