ER-EER Model
ER-EER Model
● ER model
● ER weakness
● EER model
● EER model examples
● Conclusion
ER Model
Entity is any object, class, person or place that physically exists in the real
world.
Example: In an organization, employees, managers, and projects assigned
can be considered entities.
Typically shown as a rectangle.
Components of ER model
Weak relationship is the relation between one strong and one weak
entity, and is represented by double diamond.
ER weakness
Attribute inheritance
Source:
EER
● Entity types
● Attributes
● Relationship types
● Attribute inheritance
● Superclass/subclass relationships
● Specialization
● Generalization
● Categorization
Specialisation
Specialisation:
● The set of subclasses that form a specialisation is defined on the basis of some distinguishing
characteristic of the entities in the superclass
specialisation.
Disjointness constraint
Completeness constraint
4 possible combination :
The concept where a shared subclass (i.e. a subclass with multiple parents) inherits
from all of its parents is called multiple inheritance.
Multi-inheritance
Categorization
ER model : high-level data model that shows the relationship among the
entity
ER has weakness, also EER, but EER add more concepts in order to
overcome those