Download presentation
Presentation is loading. Please wait.
1
UML UML to Relations
2
UML Modeling High-Level Database Design Model
User-friendly (graphical) specification language Translated into model of DBMS
3
UML Modeling Unified Modeling Language (UML) 5 concepts
Data modeling subset 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation Designs can be translated to relations automatically Provided every “regular” class has a key
4
UML Modeling UML to Relations: Classes
Every class becomes a relation; pk primary key
5
UML Modeling UML Data Modeling: 5 concepts Classes Associations
Association Classes Subclasses Composition & Aggregation
6
UML Modeling UML to Relations: Associations
Relation with key from each side
7
UML Modeling Keys for Association Relations Depends on multiplicity
8
UML Modeling Association Relation Always Needed?
Depends on multiplicity
9
UML Modeling UML Data Modeling: 5 concepts Classes Associations
Association Classes Subclasses Composition & Aggregation
10
UML Modeling UML to Relations: Association Classes
Add attributes to relation for association
11
UML Modeling Self-Associations
12
UML Modeling Self-Associations
13
UML Modeling UML Data Modeling: 5 concepts Classes Associations
Association Classes Subclasses Composition & Aggregation
14
UML Modeling Subclasses
1) Subclass relations contain superclass key + specialized attrs. 2) Subclass relations contain all attributes 3) One relation containing all superclass + subclass attrs. Best translation may depend on properties
15
UML Modeling Subclasses – Example
16
UML Modeling UML Data Modeling: 5 concepts Classes Associations
Association Classes Subclasses Composition & Aggregation
17
UML Modeling Composition & Aggregation
18
UML Modeling UML: High-Level Database Design Model
User-friendly graphical specification language Designs translated to relations automatically
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.