Beruflich Dokumente
Kultur Dokumente
New applications of databases require more complex semantic data modeling concepts Many appropriate such new semantic data modeling concepts have been proposed The ER model can be enhanced/extended to include these concepts EER
Classes, Subclasses, Superclasses, Inheritance (familiar concepts from an OOP course) Specialization & Generalization Categories Aggregation & Association
Each of these subgroups is called a subclass of the EMPLOYEE entity type The EMPLOYEE entity type is called the superclass of each of these subclasses The relationship between a superclass and any one of its subclasses is called a superclass/subclass or
class/subclass or IS-A (IS-AN) relationship (e.g. EMPLOYEE/SECRETARY EMPLOYEE/MANAGER)
Member entities of subclasses represent the same real-world object as the corresp. member of the superclass, but in a specific role
An entity in the database must be a member of a superclass entity. It can belong to more than one subclasses.
Entities of a superclass dont have to belong to some subclass Entity types are specified by their attributes and the relationships in which they participate. Subclass entities have their own specific attributes. They also have the same attributes and participate in the same relationships as the superclass The subclass entity inherits all attributes and relationships of its superclass (subclasses can be considered as separate entity types)
Specialization
Defining a set of subclasses of an entity type based on a distinguishing feature An entity type can have several specializations