Академический Документы
Профессиональный Документы
Культура Документы
Enhanced ER model
Goran Nenadic
Aim
Enhanced ER model
COMP67321, 2008/2009
School of Computer Science 1
continued
MANAGER
EMPLOYEEs who are managers
continued
continued
COMP67321, 2008/2009
School of Computer Science 2
continued
Examples:
A salaried employee who is also an engineer belongs
to the two subclasses:
ENGINEER, and SALARIED_EMPLOYEE
A salaried employee who is also an engineering
manager belongs to the three subclasses:
MANAGER, ENGINEER, and SALARIED_EMPLOYEE
It is not necessary that every entity in a
superclass be a member of some subclass
Representing subclasses
COMP67321, 2008/2009
School of Computer Science 3
Data modeling in EER
10
11
continued
12
COMP67321, 2008/2009
School of Computer Science 4
13
continued
14
example
Representing specialisation
15
COMP67321, 2008/2009
School of Computer Science 5
example
Representing specialisation
16
Notations, notations, …
17
UML
18
COMP67321, 2008/2009
School of Computer Science 6
Class membership
19
continued
Class membership
example
21
COMP67321, 2008/2009
School of Computer Science 7
Membership constraints
22
Disjointness constraint
23
24
COMP67321, 2008/2009
School of Computer Science 8
Completeness constraint
25
Disjointness/completeness constraints
26
example
27
COMP67321, 2008/2009
School of Computer Science 9
Hierarchies and lattices
continued
29
example
COMP67321, 2008/2009
School of Computer Science 10
Union types
31
example
32
example
Union types
– example
33
COMP67321, 2008/2009
School of Computer Science 11
Aggregation
34
example
Aggregation
35
example
Aggregation
36
COMP67321, 2008/2009
School of Computer Science 12
Summary
37
38
COMP67321, 2008/2009
School of Computer Science 13