Held and held are optionally inclusive entity-relationship modeling
Data Modeling and Database Design
Chapter 3:
Entity-Relationship Modeling
|
2 |
---|
The ER Model
3 |
---|
The ER Model (continued)
4 |
---|
|
5 |
---|
E1 | m | R | n | E2 | |
---|---|---|---|---|---|
Chen's Notation | |||||
E1 | R | E2 |
E1 Optionally Related To E2
E1 | R | E2 |
|
---|
Noninclusive Arc |
|
Figure 3.2 Summary of Presentation Layer ER diagram notation (continued)
• Heuristic (Intuitive), iterative process• Recursive incremental refinement
• Target Audience: End-user community• Technology-independent
|
7 |
---|
• Review leftover data elements and investigate the possibility that some of them serve as links among the entity types previously identified
• Designate these links as relationship types
8 |
---|
• Be sensitive throughout the process to the
identification of relationships among the various entity types
|
9 |
---|
-Supervisor ? |
---|
– Dependent
– Credit Union Account
– Hobby
10 |
---|
|
---|
– Dependent
– Credit Union Account
– Hobby
11 |
---|
• Version 0 of ER diagram results: a punctuated equilibrium
• Go back and read the story (strike out story lines already captured if need be) and refine entity types and relationship types of the ER diagram based on additional facts discerned
12 |
---|
Box 1 |
|
---|
PROJECT |
---|
Note: The relationship shown models the italicized text
13 |
---|
Box 2 |
---|
|
---|
|
14 |
---|
Development of Presentation Layer ER Model
Box 3 |
---|
|
---|
Note: The relationship shown models the italicized text
15 |
---|
|
16 |
---|
Box 4 | 1 | 20 | ||
---|---|---|---|---|
Supervised_by |
1 n
Held_by_E
BCU_ACCOUNT
Chapter 3 – Entity-Relationship Modeling 17
1
Dependent_of
1 | Supervised_by |
---|
Held_by_E | 1 | |
---|---|---|
m |
Held_by_D
n
18 |
---|
Business rule: All BCU accounts are joint-accounts between an employee and a dependent
Box 6
1 | Supervised_by |
|
---|
DEPENDENT
n
BCU_ACCOUNT
EMPLOYEE
1
1 | Supervised_by |
---|
1
Held_by_E 1
Note: The noninclusive arc indicates that the relationship types Held_by_E and Held_by_D are mutually noninclusive; i.e., Held_by_E and Held_by_D are optionally inclusive.
|
20 |
---|