UML UML to Relations.

Slides:



Advertisements
Similar presentations
Relational Database Design Via ER Modelling
Advertisements

Lab 3 Alternative ER Modelling Pearson Education © 2009.
UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 The.
1 Unified Modeling Language Classes Associations Aggregations.
6. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Explain how events can be used to identify use cases that define requirements.
Entity-Relationship (E-R) Model
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,
Chapter 41 Enhanced Entity-Relationship and Object Modeling.
Jennifer Widom UML UML Data Modeling. Jennifer Widom UML Modeling Data Modeling How to represent data for application  Relational model  with design.
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
Systems Analysis and Design in a Changing World, Tuesday, Feb 27
Entity Relationship Modeling
Conceptual Data Modeling. What Is a Conceptual Data Model? A detailed model that shows the overall structure of organizational data A detailed model.
1 © Prentice Hall, 2002 Chapter 14: Object-Oriented Data Modeling Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R.
7-1 © Prentice Hall, 2004 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
Domain Modeling Part2: Domain Class Diagram Chapter 4 pp part 2 1.
Data and Applications Security Developments and Directions Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #12 Secure Object Data Management.
ER/EER to Relational Mapping Chapter 9. STEP 1 ENTITY TYPE E (non weak) -> NEW RELATION T RELATION T: – includes all simple attributes (non composite,
Chapter 12 Object-oriented design for more than one class.
© Shamkant B. Navathe CC Enhanced Entity-Relationship Copyright © 2004 Ramez Elmasri and Shamkant Navathe.
Basic ER modeling was adequate for simpler databases, but in the 1980’s more demanding databases required more extensive modeling requirements. Some such.
1 Unified Modeling Language. 2 UML  UML is designed to model software, but has been adapted as a database modeling language. – No multiway relationships.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2006 Classes and Objects Patrick Bailey Keith Vander Linden Calvin College.
ER Diagrams ● Many different notations are available ● From wikipedia:wikipedia: Entity-relationship modelwikipedia: Entity-relationship model ● How do.
1. 2 Standards group: ODMG = Object Data Management Group. ODL = Object Description Language, like CREATE TABLE part of SQL. OQL = Object Query Language,
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Data Modeling Using the Entity- Relationship (ER) Model
CSE202 Database Management Systems
Logical Database Design and the Rational Model
Relational Database Design by ER- and ERR-to-Relational Mapping
The Enhanced Entity- Relationship (EER) Model
Object Oriented Programming
Object-Oriented Modeling
Entity- Relationship (ER) Model
Relational Database Design by ER- and EER-to- Relational Mapping
DATA REQIREMENT ANALYSIS
The Movement To Objects
Systems Analysis and Design
EER Model – Chapter
Enhanced Entity-Relationship (EER) Modeling
Interface, Subclass, and Abstract Class Review
Entity-Relationship Modelling
ER- and EER-to-Relational
OO models with relational databases
Software Architecture & Design Pattern
UML UML Data Modeling.
UML Class Diagrams: Basic Concepts
Order Database – ER Diagram
Domain Class Diagram Chapter 4 Part 2 pp
Databases: An Introduction
Lec 3: Object-Oriented Data Modeling
LECTURE 34: Database Introduction
Entity-Relationship Modeling
Table Normal Forms.
Chapter 20 Object-Oriented Analysis and Design
Chapter Entity-Relationship Modeling & Enhanced Entity- Relationship Modeling.
UML UML to Relations.
Entity-Relationship Modelling
Appendix A Object-Oriented Analysis and Design
Understand and Use Object Oriented Methods
Systems Analysis – ITEC 3155 Modeling System Requirements – Part 2
Basic OOP Concepts and Terms
Enhanced Entity-Relationship (EER) Modeling
Appendix A Object-Oriented Analysis and Design
LECTURE 33: Database Introduction
Appendix A Object-Oriented Analysis and Design
CS4222 Principles of Database System
Chapter 3 The Relational Model
Presentation transcript:

UML UML to Relations

High-Level Database Design Model UML to Relations High-Level Database Design Model User-friendly (graphical) specification language Translated into model of DBMS

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

UML to Relations: Classes Every class becomes a relation; pk  primary key

UML Data Modeling: 5 concepts Classes Associations Association Classes UML to Relations UML Data Modeling: 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation

UML to Relations: Associations Relation with key from each side

Keys for Association Relations Depends on multiplicity UML to Relations Keys for Association Relations Depends on multiplicity

Association Relation Always Needed? Depends on multiplicity UML to Relations Association Relation Always Needed? Depends on multiplicity

UML Data Modeling: 5 concepts Classes Associations Association Classes UML to Relations UML Data Modeling: 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation

UML to Relations: Association Classes Add attributes to relation for association

UML to Relations Self-Associations

UML to Relations Self-Associations

UML Data Modeling: 5 concepts Classes Associations Association Classes UML to Relations UML Data Modeling: 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation

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

UML to Relations Subclasses – Example

UML Data Modeling: 5 concepts Classes Associations Association Classes UML to Relations UML Data Modeling: 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation

Composition & Aggregation UML to Relations Composition & Aggregation

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