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 c08.tex V2 - 11/21/2008 3:12am Page 456
456 Chapter 8 Business Rules: How Things Should Work
ways. In the level 2 pattern, there was just one classification, namely,
the ENTITY RULE TYPE. Table 8-2 s howed that the instances of PRICE
COMPONENT RULE may be ‘‘Net Price’’ (for maintaining the prices net of
discounts and surcharges under various circumstances) and ‘‘Discount’’ (for
maintaining a discount that may be eitheraflatamountorapercentage).
However, what if you also wanted to maintain a different categorization for
each instance regarding if it was a ‘‘One time price,’’ a ‘‘Recurring charge,’’ or
a ‘‘Utilization charge’’? For example, there could be a need to classify PRICE
COMPONENT RULE instances in several different ways, such as by having a
‘‘Price component nature’’ BUSINESS RULE CATEGORY TYPE with ‘‘Price,’’
‘‘Discount,’’ and ‘‘Surcharge’’ as instances of BUSINESS RULE CATEGORY
and a ‘‘Price component frequency’’ BUSINESS RULE CATEGORY TYPE
with ‘‘One time charge,’’ ‘‘Recurring charge,’’ and ‘‘Utilization charge’’ as
instances of BUSINESS RULE CATEGORY. This would allow you to specify
that a particular rule that specified the monthly charge for a PRODUCT was
classified both as a ‘‘Price’’ BUSINESS RULE CATEGORY and as a ‘‘Recurring
charge’’ BUSINESS RULE CATEGORY. Thus, there would be two instances
of BUSINESS RULE CATEGORY CLASSIFICATION to maintain both of these
classifications. ...
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