UML UML Data Modeling.

Slides:



Advertisements
Similar presentations
Relational Database Design Via ER Modelling
Advertisements

Lab 3 Alternative ER Modelling Pearson Education © 2009.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
Chapter 14 (Web): Object-Oriented Data Modeling
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 4 Enhanced Entity-Relationship (EER) Modeling.
Chapter 14: Object-Oriented Data Modeling
Chapter 41 Enhanced Entity-Relationship and Object Modeling.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1 EER stands for Enhanced ER or Extended ER EER Model Concepts Includes all modeling concepts.
Enhanced Entity Relationship Modeling © 2002 by Dietrich and Urban1 ADVANCED DATABASE CONCEPTS Enhanced Entity Relationship Modeling Susan D. Urban and.
Jennifer Widom UML UML Data Modeling. Jennifer Widom UML Modeling Data Modeling How to represent data for application  Relational model  with design.
Chapter 14: Object-Oriented Data Modeling
Extending ER Diagrams (13) CPSC 356 Database Ellen Walker Hiram College (Includes figures from Database Systems: A Practical Approach to Design, Information.
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
Entity Relationship Modeling
Database Management System Prepared by Dr. Ahmed El-Ragal Reviewed & Presented By Mr. Mahmoud Rafeek Alfarra College Of Science & Technology Khan younis.
© Shamkant B. Navathe CC. © Shamkant B. Navathe CC Chapter 4 - Part I Enhanced Entity-Relationship and UML Modeling Copyright © 2004 Ramez Elmasri and.
CHAPTER 13 (ONLINE): OBJECT-ORIENTED DATA MODELING © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
1 © Prentice Hall, 2002 Chapter 14: Object-Oriented Data Modeling Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 15: Object-Oriented Data Modeling Modern Database Management 9 h Edition Jeffrey A.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 13 (Online): Object-Oriented Data Modeling Modern Database Management 10 th Edition.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
Database Systems: Enhanced Entity-Relationship Modeling Dr. Taysir Hassan Abdel Hamid.
Object-Oriented Data Modeling
Enhanced Entity-Relationship (EER) Modeling. Slide 4- 2 Chapter Outline EER stands for Enhanced ER or Extended ER EER Model Concepts Includes all modeling.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Ramez Elmasri and Shamkant Navathe Enhanced-ER (EER) Model Concepts.
Chapter 4 Extended Entity-Relationship (EER)Model Incorporates Set-subset Relationships Incorporates Generalization Hierarchies Constraints: Coverage Constraints:
© Shamkant B. Navathe CC Enhanced Entity-Relationship Copyright © 2004 Ramez Elmasri and Shamkant Navathe.
Extended ER Modelling. Extended E-R Features: Specialization Top-down design process; we designate subgroupings within an entity set that are distinctive.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi © 2013 Pearson.
Basic ER modeling was adequate for simpler databases, but in the 1980’s more demanding databases required more extensive modeling requirements. Some such.
Relational Database Design by ER- and EER-to-Relational Mapping
1 Unified Modeling Language. 2 UML  UML is designed to model software, but has been adapted as a database modeling language. – No multiway relationships.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 4- 1.
Chapter 4_part2: The Enhanced Entity-Relationship (EER) Model.
1. 2 Standards group: ODMG = Object Data Management Group. ODL = Object Description Language, like CREATE TABLE part of SQL. OQL = Object Query Language,
Enhanced Entity-Relationship (EER) Model
The Enhanced Entity- Relationship (EER) Model
Object-Oriented Modeling
Enhanced Entity-Relationship Modeling
Enhanced Entity-Relationship Modeling
Enhanced Entity-Relationship and Object Modeling Objectives
© Shamkant B. Navathe CC.
Relational Database Design by ER- and EER-to- Relational Mapping
DATA REQIREMENT ANALYSIS
Enhanced Entity-Relationship (EER) Modeling
The Enhanced Entity- Relationship (EER) Model
EER Model – Chapter
Session 2 Welcome: The sixth learning sequence
Chapter 7: Entity-Relationship Model
UML UML to Relations.
Lec 3: Object-Oriented Data Modeling
© Shamkant B. Navathe CC.
Module 8 – Database Design Using the E-R Model
Enhanced Entity-Relationship Modeling
Chapter 20 Object-Oriented Analysis and Design
UML UML to Relations.
Understand and Use Object Oriented Methods
© Shamkant B. Navathe CC.
Systems Analysis – ITEC 3155 Modeling System Requirements – Part 2
Enhanced Entity-Relationship Modeling Transparencies
Enhanced Entity-Relationship Modeling
Sampath Jayarathna Cal Poly Pomona
ENHANCED ENTITY-RELATIONSHIP (EER) MODEL
© Shamkant B. Navathe CC.
Enhanced Entity-Relationship (EER) Modeling
Enhanced Entity-Relationship (EER) Modeling
CS4222 Principles of Database System
Chapter 6b: Database Design Using the E-R Model
Presentation transcript:

UML UML Data Modeling

UML Modeling Data Modeling How to represent data for application Relational model  with design principles XML Database design model Not implemented by system Translated into model of DBMS

UML Modeling Higher-Level Database Design Models Entity-Relationship Model (E/R) Unified Modeling Language (UML) Data modeling subset Both are graphical Both can be translated to relations automatically Or semi-automatically

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

UML Modeling UML Data Modeling: Classes Name, attributes, methods For data modeling: add “pk”, drop methods

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

UML Modeling UML Data Modeling: Associations Relationships between objects of two classes

UML Modeling Multiplicity of Associations Relationships between objects of two classes Each object of class C1 is related to at least m and at most n objects of class C2

UML Modeling Multiplicity of Associations: Example Students must apply somewhere and may not apply to more than 5 colleges. No college takes more than 20,000 applications.

UML Modeling Multiplicity of Associations: Types of Relationships One-to-One Many-to-One Many-to-Many Complete

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

UML Modeling UML Data Modeling: Association Classes Relationships between objects of two classes, with attributes on relationships

UML Modeling Eliminating Association Classes Unnecessary if 0..1 or 1..1 multiplicity

UML Modeling Self-Associations Associations between a class and itself

UML Modeling Self-Associations Associations between a class and itself

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

UML Modeling UML Data Modeling: Subclasses

UML Modeling Subclass Terminology & Properties Superclass = Generalization Subclass = Specialization Incomplete (Partial) vs. Complete Disjoint (Exclusive) vs. Overlapping

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

UML Modeling UML Data Modeling: Composition & Aggregation Objects of one class belong to objects of another class

UML Modeling Higher-Level Database Design Unified Modeling Language (UML) Data modeling subset Graphical 5 concepts Classes Associations Association Classes Subclasses Composition & Aggregation Can be translated to relations automatically