Skip to Content
The Data Model Resource Book, Volume 3: Universal Patterns for Data Modeling
book

The Data Model Resource Book, Volume 3: Universal Patterns for Data Modeling

by Paul Agnew, Len Silverston
January 2009
Beginner to intermediate
641 pages
26h 48m
English
Wiley
Content preview from The Data Model Resource Book, Volume 3: Universal Patterns for Data Modeling
Silverston c03.tex V2 - 11/21/2008 2:59am Page 99
Level 2 Contextual Role Pattern, PARTY Only Alternative 99
When there are one-to-many relationships from the role to the entity,
this pattern does not account for tracking history of who played what
role when. For example, what if the project lead changed over time?
In this pattern, the old project lead would just be overridden, unless
this relationship was changed to a many-to-many relationship.
NOTE
It could be argued that history should be handled outside of the
data model by other technical means such as with an auditing feature of the
database or with history snapshot tables.
Synopsis
In this section we described a specific pattern that can be used by many
enterprises to model the different contextual roles that a party may play
regarding the party’s involvement in some other entity. It is significant that
this pattern uses the declarative roles that may be captured for a PARTY as
a basis for creating contextual roles that relate to the party’s involvement in
another entity, such as PROJECTS, ORDERS, or SHIPMENTS.
Although there are benefits of declaring roles using the PARTY and PARTY
ROLE patterns, this structure may be too generalized for some enterprises,
or it may not meet the semantic needs of enterprises that view the roles a
party plays as part of the party itself. It may also be too ‘‘rigorous’’ for some
enterprises. In other words they
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Data Model Resource Book, Vol. 2: A Library of Data Models for Specific Industries

The Data Model Resource Book, Vol. 2: A Library of Data Models for Specific Industries

Len Silverston
The Data Model Resource Book, Volume 1

The Data Model Resource Book, Volume 1

Len Silverston, Graeme Simsion
Data Model Patterns

Data Model Patterns

David C. Hay, Richard Barker

Publisher Resources

ISBN: 9780470178454Other