How to Read a Data Model
This data modeling notation is analogous to UML. Instead of class boxes, you have entity type boxes. Instead of associations, you have relationship lines. In each case, the relationship lines are named (in both directions) so that the relationships can be read as normal English sentences.
A "crow's foot" at one end of a relationship means that more than one occurrence of the attached entity type may be associated with the entity type at the other end. Absence of a crow's foot means that only one occurrence may be associated.
A dashed half line means that an occurrence of the entity type on the far end of the relationship line is optional. It may or may not occur. A solid half line means that at least one occurrence of the entity type at the far end is required. These rules, combined with the naming convention produce the following structure for naming relationships:
- Each
- [first entity type name]
- must be (if the line is solid)
(or)
may be (if the line is dashed)
- [relationship name]
- one or more (if a crow's foot is present)
(or)
one and only one (if no crow's foot is present)
- [second entity type name].

For example, in the diagram above,
- Each DEPLOYED COMPONENT must be on one and only one MACHINE.
- Each MACHINE may be the site of one or more DEPLOYED COMPONENTS.
|