chapter 12
DESCRIPTION
Chapter 12. Enhanced Entity-Relationship modeling Transparencies. Chapter 12 - Objectives. The main concepts associated with the Enhanced Entity-Relationship (EER) model called specialization / generalization and categorization. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/1.jpg)
Chapter 12
Enhanced Entity-Relationship modeling
Transparencies
![Page 2: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/2.jpg)
Chapter 12 - Objectives The main concepts associated with
the Enhanced Entity-Relationship (EER) model called specialization / generalization and categorization.
A diagrammatic technique for displaying specialization / generalization and categorization in an EER model.
![Page 3: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/3.jpg)
48
The Enhanced Entity-Relationship Model
Since the 1980s there has been an increase in the emergence of new database applications with more demanding requirements.
Basic concepts of ER modeling are not sufficient to represent the requirements of the newer, more complex applications.
Response is development of additional ‘semantic’ modeling concepts.
![Page 4: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/4.jpg)
49
The Enhanced Entity-Relationship Model
Semantic concepts are incorporated into the original ER model and is called the Enhanced Entity-Relationship (EER) model.
Additional concepts of EER model includes specialization / generalization, part/whole, and Categorization.
![Page 5: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/5.jpg)
50
Concept of Specialization / Generalization
Associated with the related concepts of entity types described as superclasses or subclasses and the process of attribute inheritance.
Superclass– An entity type that includes
distinct subclasses that require to be represented In a data model.
![Page 6: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/6.jpg)
51
Concept of Specialization / Generalization
Subclass– A subclass is an entity type that has a
distinct role and is also a member of the superclass.
Attribute Inheritance– An entity in a subclass may possess
subclass specific attributes, as well as those associated with the superclass.
![Page 7: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/7.jpg)
52
Concept of Specialization / Generalization
Generalization– The process of minimising the
differences between entities by identifying their common features.
Specialization and generalization has disjoint and participation constraints.
![Page 8: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/8.jpg)
Subtype and Super-type
Faculty
Full Time Faculty
Part Time Faculty
Part (day)Time
FacultyPart (Night)Time
Faculty
![Page 9: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/9.jpg)
Generalization & Specialization
Aircraft
Commercial Military
B52 B-1B747 777
Generalization Specialization
![Page 10: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/10.jpg)
53
Specialization of Staff Entity into Job Roles Subclasses
![Page 11: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/11.jpg)
54
Specialization of Staff Entity into Job Roles and Contract of Employment Subclasses
![Page 12: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/12.jpg)
55
A Shared Subclass called Sales_Trainee
![Page 13: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/13.jpg)
Part/Whole Relationship
![Page 14: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/14.jpg)
56
Categorization The modeling of a single subclass (called a category) with a
relationship that involves more than one distinct superclass.
A category subclass has selective inheritance.
Divided based on total or partial participation. – Total - every occurrence of all superclasses must appear
in the category. – Partial - constraint is removed.
![Page 15: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/15.jpg)
57
Property_Owner and Property Categories
![Page 16: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/16.jpg)
58
Property represented as a Specialization / Generalization.
![Page 17: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/17.jpg)
59
Manager’s View of DreamHome Case Study Building an EER Model
Identify entity types.
Identify relationship types.
Determine cardinality and participation constraints of relationship types.
Identify and associate attributes with entity or relationship types.
![Page 18: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/18.jpg)
60
Manager’s View of DreamHome Case Building an EER Model
Determine candidate and primary key attributes.
Specialize / generalize entity types.
Categorize entity types.
Draw the EER Diagram.
![Page 19: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/19.jpg)
61
Manager’s View Major Relationships
![Page 20: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/20.jpg)
62
Manager’s ViewEntities and their attributes
![Page 21: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/21.jpg)
63
Manager’s ViewEntities and their attributes (Continued)
![Page 22: Chapter 12](https://reader035.vdocument.in/reader035/viewer/2022070500/5681682f550346895dddd27f/html5/thumbnails/22.jpg)
64
Manager’s ViewEntity and primary and alternate keys