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 c06.tex V2 - 11/21/2008 3:09am Page 269
Level 4 Status Pattern 269
Level 4 Status Pattern
The Level 4 Status Pattern is even more flexible than any of the preceding
patterns in this chapter. We consider it a ‘‘plug-and-play’’ type pattern. What
we mean by this is that with this pattern any ENTITY that needs to maintain
statuses just needs to plug itself into this structure, without adding any
new entities or attributes (except a foreign key). When a new entity needs
to capture statuses, all t hat is necessary is to create a relationship from the
ENTITY to STATUS APPLICATION and include a foreign key in the STATUS
APPLICATION entity.
Why Do We Need This Pattern?
This pattern is quite similar to the Level 3 Pattern, but it differs in one significant
way: instead of having an individual ENTITY STATUS connected to STATUS
TYPE, a single consolidated entity called STATUS APPLICATION supports all
relationships to the STATUS TYPE entity. This is almost the equivalent of an
interface in programming. In other words, if any new or existing entity needs
to maintain status information, all you need to do is attach to the interface
STATUS APPLICATION by creating a relationship to it. This is very useful for
enterprises that have a very dynamic data environment and that want to have
a standard, modular approach for maintaining status data.
How Does This Pattern Work?
Figure 6-8 illustrates the pattern.
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