Download presentation
Presentation is loading. Please wait.
1
UML UML to Relations
2
High-Level Database Design Model
UML to Relations High-Level Database Design Model User-friendly (graphical) specification language Translated into model of DBMS
3
Unified Modeling Language (UML) 5 concepts
UML to Relations Unified Modeling Language (UML) 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 to Relations: Classes
Every class becomes a relation; pk primary key
5
UML Data Modeling: 5 concepts Classes Associations Association Classes
UML to Relations UML Data Modeling: 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation
6
UML to Relations: Associations Relation with key from each side
7
Keys for Association Relations Depends on multiplicity
UML to Relations Keys for Association Relations Depends on multiplicity
8
Association Relation Always Needed? Depends on multiplicity
UML to Relations Association Relation Always Needed? Depends on multiplicity
9
UML Data Modeling: 5 concepts Classes Associations Association Classes
UML to Relations UML Data Modeling: 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation
10
UML to Relations: Association Classes
Add attributes to relation for association
11
UML to Relations Self-Associations
12
UML to Relations Self-Associations
13
UML Data Modeling: 5 concepts Classes Associations Association Classes
UML to Relations UML Data Modeling: 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation
14
Subclasses UML to Relations
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 to Relations Subclasses – Example
16
UML Data Modeling: 5 concepts Classes Associations Association Classes
UML to Relations UML Data Modeling: 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation
17
Composition & Aggregation
UML to Relations Composition & Aggregation
18
UML: High-Level Database Design Model
UML to Relations 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.