Jan. 2013Dr. Yangjun Chen1 Chapter 21 (2nd. Edition) Advanced Data Modeling Subclasses Superclasses Specialization Attribute inheritance Generalization.

Slides:



Advertisements
Similar presentations
© Shamkant B. Navathe CC. © Shamkant B. Navathe CC Chapter 4 - Part I Enhanced Entity-Relationship and UML Modeling Copyright © 2004 Ramez Elmasri and.
Advertisements

Jan Advanced Data Modeling Subclasses Superclasses Specialization Attribute inheritance Generalization Discriminator Lattice Category EER-to-Relational.
Enhanced Entity-Relationship and Object Modeling (Ch 4) Jan R McFadyen1 Class/subclass relationships Inheritance Specialization Generalization.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 The Enhanced Entity- Relationship (EER) Model.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 4 Enhanced Entity-Relationship (EER) Modeling.
1 Database Systems: A Practical Approach to Design, Implementation and Management International Computer Science S. Carolyn Begg, Thomas Connolly Lecture.
1 Enhanced Entity Relationship Modelling EER Model Concepts Includes all basic ER modeling concepts Additional concepts: subclasses/superclasses specialization/generalization.
Enhanced ER modeling techniques Transparencies
December 4, 2002 Data Modeling – James Cohen Enhanced Entity Relationship (EER) Model Presented by James Cohen.
Chapter 4 The Enhanced Entity-Relationship (EER) Model
© Shamkant B. Navathe CC METU Department of Computer Eng Ceng 302 Introduction to DBMS Enhanced Entity-Relationship (EER) Model by Pinar Senkul resources:
EXTENDED-ER (EER) MODEL CONCEPTS. Enhanced-ER (EER) Model Concepts  Basic ER diagram + more concepts =EER model  Additional concepts:  Subclasses/superclasses.
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 and UML Modeling. Enhanced-ER (EER) Model Concepts Includes all modeling concepts of basic ER Additional concepts: subclasses/superclasses,
Enhanced Entity-Relationship Model (EER) 1. Enhanced-ER (EER) Model Concepts Includes all modeling concepts of basic ER Additional concepts: subclasses/superclasses,
ER- and EER-to-Relational Mapping
Entity Relationship Modeling
1 CSE 480: Database Systems Lecture 4: Enhanced Entity-Relationship Modeling Reference: Read Chapter 8.1 – 8.5 of the textbook.
© Shamkant B. Navathe CC. © Shamkant B. Navathe CC Chapter 4 - Part I Enhanced Entity-Relationship and UML Modeling Copyright © 2004 Ramez Elmasri and.
Enhanced Entity – Relationship (EER) and Object Modeling (Based on Chapter 4 in Fundamentals of Database Systems by Elmasri and Navathe, Ed. 4)
THE ENHANCED ER (EER) MODEL CHAPTER 8 (6/E) CHAPTER 4 (5/E)
Database Systems: Enhanced Entity-Relationship Modeling Dr. Taysir Hassan Abdel Hamid.
EER Model.
Enhanced Entity-Relationship (EER) Modeling. Slide 4- 2 Chapter Outline EER stands for Enhanced ER or Extended ER EER Model Concepts Includes all modeling.
1 CSBP430 – Database Systems Chapter 4: Enhanced Entity– Relationship and Object Modeling Elarbi Badidi College of Information Technology United Arab Emirates.
Exam 1 Review Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Ramez Elmasri and Shamkant Navathe Enhanced-ER (EER) Model Concepts.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 4 Enhanced Entity-Relationship (EER) Modeling.
Exam 1 Review Dr. Bernard Chen Ph.D. University of Central Arkansas.
Slide 4-1 Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Revised by IB & SAM, Fasilkom UI, 2005 Exercise 1. a property or description.
© Shamkant B. Navathe CC Enhanced Entity-Relationship Copyright © 2004 Ramez Elmasri and Shamkant Navathe.
Topic 4 - Part I Enhanced Entity-Relationship and UML Modeling
Basic ER modeling was adequate for simpler databases, but in the 1980’s more demanding databases required more extensive modeling requirements. Some such.
Lecture 3 A short revision of ER and EER modelling See R. Elmasri, S.B. Navathe. Fundamentals of Database Systems (third edition) Addison-wesley. Chapter.
Enhanced Entity-Relationship and UML Modeling. 2.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 4- 1.
Chapter 4_part2: The Enhanced Entity-Relationship (EER) Model.
Database Systems 主講人 : 陳建源 日期 :99/10/19 研究室 : 法 Chapter 4 Enhanced Entity-Relationship and Object Modeling.
Enhanced Entity-Relationship (EER) Model
The Enhanced Entity- Relationship (EER) Model
Enhanced Entity-Relationship Modeling
Enhanced Entity-Relationship Modeling
Enhanced Entity-Relationship and Object Modeling Objectives
© Shamkant B. Navathe CC.
The Enhanced Entity- Relationship (EER) Model
Enhanced Entity-Relationship (EER) Modeling
Session 2 Welcome: The sixth learning sequence
Enhanced ER Modeling Transparencies
© Shamkant B. Navathe CC.
Enhanced Entity-Relationship Modeling
© Shamkant B. Navathe CC.
CS4222 Principles of Database System
Enhanced Entity-Relationship Modeling Transparencies
Enhanced Entity-Relationship Modeling Transparencies
Enhanced Entity-Relationship Modeling
Sampath Jayarathna Cal Poly Pomona
Database EER.
ENHANCED ENTITY-RELATIONSHIP (EER) MODEL
Sampath Jayarathna Cal Poly Pomona
© Shamkant B. Navathe CC.
Enhanced Entity-Relationship (EER) Modeling
Enhanced Entity-Relationship Modeling
Enhanced Entity-Relationship (EER) Modeling
Enhanced Entity-Relationship Modeling
Presentation transcript:

Jan. 2013Dr. Yangjun Chen1 Chapter 21 (2nd. Edition) Advanced Data Modeling Subclasses Superclasses Specialization Attribute inheritance Generalization Discriminator Lattice Category EER-to-Relational Mapping Aggregation Association Hierarchy Classification Instantiation Identification Constraints

Jan. 2013Dr. Yangjun Chen2 FUsed where more complex relationships need to be represented Fis becoming more common, more mainstream, more accepted FExamples –Computer Aided Design (CAD) & Computer Aided Manufacturing (CAM) –databases –Image and graphic databases –multimedia databases –geographic databases Chapter 21

Jan. 2013Dr. Yangjun Chen3 FSubclasses FSuperclasses FSpecialization FGeneralization FAttribute Inheritance FCategory FEnhanced-ERD FEERD - Relational MappingConcepts

Jan. 2013Dr. Yangjun Chen4Subclass/Superclass FExample: Employee entity Fhave subgroupings that need to be represented separately –Example: Engineer, secretary, manager, technician etc. Fsubgroupings are called subclasses of employee FEmployee entity is called a superclass FA superclass is sometimes referred to as just a class FClass/subclass relationship is also called an is-a relationship

Jan. 2013Dr. Yangjun Chen5Constraints employee technicianmanager superclass/class subclasses It is not necessary for an entity in a superclass to belong to a subclass An entity cannot be a member of a subclass without being a member of the superclass

Jan. 2013Dr. Yangjun Chen6 Subclass Concept FCertain attributes may apply to some entities but not all –Example: Entityunique attributes Engineer type secretary typing speed technician tgrade managerbusiness unit managed

Jan. 2013Dr. Yangjun Chen7 FSubclasses may participate in different relationships –Example: Technician might be a member of a trade union Manager manages a business unit employee technicianmanager Trade union Department manages member of Subclass Concept

Jan. 2013Dr. Yangjun Chen8 FEntities in a subclass inherit all the attributes of a superclass –Example: Employee (id, name, bdate) Engineer, Secretary and Technician all inherit id,name, bdate attributes from employee Engineer (id, name, bdate, Eng_type) Attribute Inheritance

Jan. 2013Dr. Yangjun Chen9 FEntities in a subclass also inherit relationships of its superclass employee technicianmanager Trade union Department manages member of works in Every employee (technicians and managers) works in a department Relationship Inheritance

Jan. 2013Dr. Yangjun Chen10 FWhy is this distinction important? –to better represent the real world –to express semantics (meaning) more precisely –to save storage space(?)Inheritance