100% found this document useful (2 votes)
37 views

Data Model Patterns David C. Haypdf download

The document promotes the website ebookultra.com for downloading a variety of ebooks and textbooks, including titles by David C. Hay. It highlights specific books available for download, such as 'Data Model Patterns' and 'Regenerative Medicine Stem Cells and the Liver.' The document also includes details about the publication and its contributors.

Uploaded by

gikicrenova
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
37 views

Data Model Patterns David C. Haypdf download

The document promotes the website ebookultra.com for downloading a variety of ebooks and textbooks, including titles by David C. Hay. It highlights specific books available for download, such as 'Data Model Patterns' and 'Regenerative Medicine Stem Cells and the Liver.' The document also includes details about the publication and its contributors.

Uploaded by

gikicrenova
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

Download the full version and explore a variety of ebooks

or textbooks at https://ebookultra.com

Data Model Patterns David C. Hay

_____ Follow the link below to get your download now _____

https://ebookultra.com/download/data-model-patterns-david-c-
hay/

Access ebookultra.com now to download high-quality


ebooks or textbooks
We have selected some products that you may be interested in
Click the link to download now or visit ebookultra.com
for more options!.

Regenerative Medicine Stem Cells and the Liver 1st Edition


David C. Hay

https://ebookultra.com/download/regenerative-medicine-stem-cells-and-
the-liver-1st-edition-david-c-hay/

Practical Immunology 4th Edition Frank C. Hay

https://ebookultra.com/download/practical-immunology-4th-edition-
frank-c-hay/

Effective Groundwater Model Calibration With Analysis of


Data Sensitivities Predictions and Uncertainty 1st Edition
Mary C. Hill
https://ebookultra.com/download/effective-groundwater-model-
calibration-with-analysis-of-data-sensitivities-predictions-and-
uncertainty-1st-edition-mary-c-hill/

Political analysis 1st publ Edition Hay

https://ebookultra.com/download/political-analysis-1st-publ-edition-
hay/
Data structures using C 1st Edition Patil

https://ebookultra.com/download/data-structures-using-c-1st-edition-
patil/

Data Structures Using C C 2nd Edition Edition Aaron M.


Tenebaum

https://ebookultra.com/download/data-structures-using-c-c-2nd-edition-
edition-aaron-m-tenebaum/

Pro Objective C Design Patterns for iOS 1st Edition Carlo


Chung (Auth.)

https://ebookultra.com/download/pro-objective-c-design-patterns-for-
ios-1st-edition-carlo-chung-auth/

Integrating Omics Data 1st Edition George C. Tseng

https://ebookultra.com/download/integrating-omics-data-1st-edition-
george-c-tseng/

Parallel Programming with Microsoft Visual C Design


Patterns for Decomposition and Coordination on Multicore
Architectures Patterns and Practices 1st Edition Colin
Campbell
https://ebookultra.com/download/parallel-programming-with-microsoft-
visual-c-design-patterns-for-decomposition-and-coordination-on-
multicore-architectures-patterns-and-practices-1st-edition-colin-
campbell/
Data Model Patterns David C. Hay Digital Instant
Download
Author(s): David C. Hay
ISBN(s): 9780120887989, 0120887983
Edition: Kindle
File Details: PDF, 2.84 MB
Year: 2006
Language: english
DATA MODEL PATTERNS
The Morgan Kaufmann Series in Data Management Systems
Series Editor: Jim Gray, Microsoft Research

Data Model Patterns: A Metadata Map Information Modeling and Relational Understanding SQL’s Stored Procedures:
David Hay Databases: From Conceptual Analysis to A Complete Guide to SQL/PSM
Logical Design Jim Melton
Data Mining: Concepts and Techniques,
Terry Halpin
Second Edition Principles of Multimedia Database
Jiawei Han and Micheline Kamber Component Database Systems Systems
Edited by Klaus R. Dittrich and V. S. Subrahmanian
Querying XML: XQuery, XPath, and
Andreas Geppert
SQL/XML in Context Principles of Database Query Processing
Jim Melton and Steve Buxton Managing Reference Data in Enterprise for Advanced Applications
Databases: Binding Corporate Data to the Clement T. Yu and Weiyi Meng
Joe Celko’s SQL for Smarties: Advanced
Wider World
SQL Programming, Third Edition Advanced Database Systems
Malcolm Chisholm
Joe Celko Carlo Zaniolo, Stefano Ceri,
Understanding SQL and Java Together: Christos Faloutsos, Richard T. Snodgrass,
Moving Objects Databases
A Guide to SQLJ, JDBC, and Related V. S. Subrahmanian, and Roberto Zicari
Ralf Güting and Markus Schneider
Technologies
Principles of Transaction Processing
Foundations of Multidimensional and Jim Melton and Andrew Eisenberg
Philip A. Bernstein and Eric Newcomer
Metric Data Structures
Database: Principles, Programming,
Hanan Samet Using the New DB2: IBMs Object-Relational
and Performance, Second Edition
Database System
Joe Celko’s SQL Programming Style Patrick and Elizabeth O’Neil
Don Chamberlin
Joe Celko
The Object Data Standard:
Distributed Algorithms
Data Mining, Second Edition: Concepts ODMG 3.0
Nancy A. Lynch
and Techniques Edited by R. G. G. Cattell and
Ian Witten and Eibe Frank Douglas K. Barry Active Database Systems: Triggers and
Rules For Advanced Database
Fuzzy Modeling and Genetic Algorithms Data on the Web: From Relations to
Processing
for Data Mining and Exploration Semistructured Data and XML
Edited by Jennifer Widom and
Earl Cox Serge Abiteboul, Peter Buneman,
Stefano Ceri
and Dan Suciu
Data Modeling Essentials, Third Edition
Migrating Legacy Systems: Gateways,
Graeme C. Simsion and Graham C. Witt Data Mining: Practical Machine Learning
Interfaces, & the Incremental Approach
Tools and Techniques with Java
Location-Based Services Michael L. Brodie and Michael Stonebraker
Implementations
Jochen Schiller and Agnès Voisard
Ian Witten and Eibe Frank Atomic Transactions
Database Modeling with Microsft® Visio Joe Celko’s SQL for Smarties: Advanced
Nancy Lynch, Michael Merritt,
for Enterprise Architects William Weihl, and Alan Fekete
SQL Programming, Second Edition
Terry Halpin, Ken Evans, Patrick Hallock, Joe Celko Query Processing for Advanced Database
Bill Maclean Systems
Joe Celko’s Data and Databases: Concepts
Designing Data-Intensive Web Applications Edited by Johann Christoph Freytag,
in Practice
Stephano Ceri, Piero Fraternali, David Maier, and Gottfried Vossen
Joe Celko
Aldo Bongio, Marco Brambilla, Transaction Processing: Concepts and
Sara Comai, and Maristella Matera Developing Time-Oriented Database
Techniques
Applications in SQL
Mining the Web: Discovering Knowledge Jim Gray and Andreas Reuter
Richard T. Snodgrass
from Hypertext Data Building an Object-Oriented Database
Soumen Chakrabarti Web Farming for the Data Warehouse
System: The Story of O2
Richard D. Hackathorn
Advanced SQL: 1999—Understanding Edited by François Bancilhon, Claude Delobel,
Object-Relational and Other Advanced Management of Heterogeneous and Paris Kanellakis
Features and Autonomous Database
Systems Database Transaction Models for Advanced
Jim Melton Applications
Edited by Ahmed Elmagarmid,
Database Tuning: Principles, Experiments, Marek Rusinkiewicz, and Edited by Ahmed K. Elmagarmid
and Troubleshooting Techniques Amit Sheth A Guide to Developing Client/Server
Dennis Shasha and Philippe Bonnet
Object-Relational DBMSs: Tracking the SQL Applications
SQL: 1999—Understanding Relational Next Great Wave, Second Edition Setrag Khoshafian, Arvola Chan, Anna Wong,
Language Components Michael Stonebraker and Paul Brown, and Harry K. T. Wong
Jim Melton and Alan R. Simon with Dorothy Moore The Benchmark Handbook for Database
Information Visualization in Data Mining A Complete Guide to DB2 Universal and Transaction Processing Systems,
and Knowledge Discovery Database Second Edition
Edited by Usama Fayyad, Georges G. Don Chamberlin Edited by Jim Gray
Grinstein, and Andreas Wierse
Universal Database Management: Camelot and Avalon: A Distributed
Transactional Information Systems: Theory, A Guide to Object/Relational Transaction Facility
Algorithms, and Practice of Concurrency Technology Edited by Jeffrey L. Eppinger, Lily B.
Control and Recovery Cynthia Maro Saracco Mummert, and Alfred Z. Spector
Gerhard Weikum and Gottfried Vossen
Readings in Database Systems, Readings in Object-Oriented Database
Spatial Databases: With Application to GIS Third Edition Systems
Philippe Rigaux, Michel Scholl, and Edited by Michael Stonebraker and Edited by Stanley B. Zdonik and
Agnes Voisard Joseph M. Hellerstein David Maier
DATA MODEL PATTERNS
A Metadata Map

David C. Hay
Essential Strategies, Inc.

AMSTERDAM BOSTON
HEIDELBERG LONDON
NEW YORK OXFORD PARIS
SAN DIEGO SAN FRANCISCO
SINGAPORE SYDNEY TOKYO
Publisher Diane D. Cerra
Assistant Editor Asma Stephan
Editorial Intern Marisa Crawford
Publishing Services Manager George Morrison
Project Manager Marilyn E. Rash
Cover Design Hannus Design
Cover Image Aristotle with a Bust of Homer, 1653 (Oil on canvas)
Rembrandt Harmensz van Rijn (1606–1669 Dutch)
Metropolitan Museum of Art, New York, USA
Composition Cepha Imaging Pvt. Ltd.
Technical Illustrations Dartmouth Publishing Inc.
Indexer Kevin Broccoli
Interior printer Courier Westford
Cover printer Phoenix Color Corp.
Morgan Kaufmann Publishers is an imprint of Elsevier.
500 Sansome Street, Suite 400, San Francisco, CA 94111

This book is printed on acid-free paper.

© 2006 by David C. Hay. Published by Elsevier Inc. All rights reserved.

Designations used by companies to distinguish their products are often claimed as trademarks or registered
trademarks. In all instances in which Morgan Kaufmann Publishers is aware of a claim, the product names
appear in initial capital or all capital letters. Readers, however, should contact the appropriate companies for
more complete information regarding trademarks and registration.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by
any means—electronic, mechanical, photocopying, scanning, or otherwise—without prior written permission
of the publisher.

Permissions may be sought directly from Elsevier’s Science & Technology Rights Department in Oxford, UK:
phone: (+44) 1865 843830, fax: (+44) 1865 853333, E-mail: [email protected]. You may also complete
your request on-line via the Elsevier homepage (http://elsevier.com), by selecting “Support & Contact” then
“Copyright and Permission” and then “Obtaining Permissions.”

Library of Congress Cataloging-in-Publication Data

Hay, David C., 1947-


Data model patterns : a metadata map / David C. Hay.
p. cm.
1. Data warehousing. 2. Metadata. I. Title.
ISBN-13: 978-0-12-088798-9 (pbk.: alk. paper)
ISBN-10: 0-12-088798-3 (pbk.: alk. paper)

QA76.9.D37.H38 2006
005.74–dc22 2006011123

For information on all Morgan Kaufmann publications, visit our Web site at www.mkp.com or
www.books.elsevier.com

Printed in the United States of America


06 07 08 09 10 5 4 3 2 1
To my mother, Henrietta Hay, who taught me to write well
and to appreciate good writing.
This Page Intentionally Left Blank
CHRONO-SYNCLASTIC INFUNDIBULA—Just imagine that your Daddy is the smartest
man who ever lived on Earth, and he knows everything there is to find out, and he
is exactly right about everything, and he can prove he is right about everything.
Now imagine another little child on some nice world a million light-years away,
and that little child’s Daddy is the smartest man who ever lived on that nice world
so far away. And he is just as smart and just as right as your Daddy is. Both
Daddies are smart, and both Daddies are right.
Only if they ever met each other they would get into a terrible argument, because
they wouldn’t agree on anything. Now, you can say that your Daddy is right
and the other little child’s Daddy is wrong, but the Universe is an awfully big
place. There is room enough for an awful lot of people to be right about things and
still not agree.
The reason both Daddies can be right and still get into terrible fights is because there
are so many different ways of being right. There are places in the Universe, though,
where each Daddy could finally catch on to what the other Daddy was talking
about. These places are where all the different kinds of truths fit together as nicely
as the parts in your Daddy’s solar watch. We call these places chrono-synclastic
infundibula.
...
Chrono (KROH-no) means time. Synclastic (sin-CLASS-tick) means curved
toward the same side in all directions, like the skin of an orange. Infundibulum
(in-fun-DIB-u-lum) is what the ancient Romans like Julius Caesar and Nero called
a funnel. If you don’t know what a funnel is, get Mommy to show you one.

—Kurt Vonnegut Jr.


From The Sirens of Titan, © copyright 1988
by Kurt Vonnegut
Used by permission of Dell Publishing,
a division of Random House, Inc.
This Page Intentionally Left Blank
CONTENTS

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix

CHAPTER 1: ABOUT METADATA MODELS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

WHAT ARE METADATA? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1


IN SEARCH OF METADATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
THE ARCHITECTURE FRAMEWORK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
The Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
The Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
METAMODELS AND THE FRAMEWORK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
People and Organizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
THE NOTATION: OBJECT AND ENTITY CLASSES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Class Model (UML) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Entity-Relationship Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
LEVEL OF ABSTRACTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

CHAPTER 2: DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

DATA AND THE ARCHITECTURE FRAMEWORK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33


THE BUSINESS OWNER AND BUSINESS RULES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
ROW TWO: BUSINESS TERMS, CONCEPTS, AND FACT TYPES . . . . . . . . . . . . . . . . . . . . . 37
Terms and Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Ontologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Propositions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Fact Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

ix
x CONTENTS

Authorship . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Document Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Coverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
The Dublin Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Data Stewardship . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
ROW THREE: THE ENTITY-RELATIONSHIP DIAGRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Sample Entity-Relationship Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Entity Classes and Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Relationships and Relationship Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Entity Class Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
About Reference Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
ROW FOUR: DATA DESIGN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Relational Database Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Object-Oriented Data Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
ROW SIX: THE PRODUCTION SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

CHAPTER 3: ACTIVITIES, FUNCTIONS, AND PROCESSES . . . . . . . . . . . . . . . . . . . . 123

ACTIVITIES AND THE ARCHITECTURE FRAMEWORK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123


DEFINITIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
TYPES OF PROCESS MODELS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
ROW TWO: FUNCTIONS AND BUSINESS PROCESSES . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Business Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Sample Process Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Motivating Business Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Access Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
ROW THREE: PROCESSING DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
A Data Flow Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
System Processes and Data Flows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Access Roles and System Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Essential System Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
ROW FOUR: PROGRAM MODULES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Basic Module Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Program Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Object Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
ROW SIX: PROGRAM INVENTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178

CHAPTER 4: LOCATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183

ABOUT LOCATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183


Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Geographic Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
CONTENTS xi

ROW TWO: PLACING PARTIES, BUSINESS PROCESSES, AND MOTIVATION . . . . . . . . . . . . . . 192


Business Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Means, End, and Effort . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
ROW THREE: DATA FLOW DIAGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
ROW FOUR: PLACING DATA AND PROGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
ROW SIX: SYSTEM INVENTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Database Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205

CHAPTER 5: PEOPLE AND ORGANIZATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209

THE PEOPLE AND ORGANIZATIONS COLUMN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209


ABOUT PEOPLE AND ORGANIZATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
ROW TWO: THE BUSINESS OWNER’S VIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Access Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Concepts, Symbols, and Signifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Activities, Decisions, and Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Means and Ends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
ROW THREE: THE ARCHITECT’S VIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
ROW FOUR: THE DESIGNER’S VIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Interactive Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
ROW SIX: SECURITY AND GOVERNANCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243

CHAPTER 6: EVENTS AND TIMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245

THE EVENTS AND TIMING COLUMN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245


ROW TWO: BUSINESS EVENT TYPES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
External Business Event Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Internal Business Event Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
ROW THREE: SYSTEM EVENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
State-Transition Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Entity Life History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Essential System Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
The Feedback Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
ROW FOUR: PROGRAM EVENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Object Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270

CHAPTER 7: MOTIVATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273

THE MOTIVATION COLUMN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273


About Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Mission and Vision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Ends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Means . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
xii CONTENTS

Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Influencers and Assessments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Directive Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
ROW THREE: THE ARCHITECT’S VIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
About Business Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Sample Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
System Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Business Rule Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Parties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Data Quality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
ROW FOUR: THE DESIGNER’S VIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
Sample Database Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Database Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
Object-Oriented Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
Data Quality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
ROW SIX: MEASURING DATA QUALITY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338

GLOSSARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343

REFERENCES AND FURTHER READING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391

ABOUT THE AUTHOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395

INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
PREFACE

ABOUT METADATA
Twenty years ago, when I started working as a consultant with the Oracle
Corporation, I learned a particular style of data modeling. I had done database
design for many years before that, and often illustrated my designs with draw-
ings. The particular flavor of modeling I learned at Oracle, however, was very
different. For the first time, I was modeling the structure—the language—of a
company, not just the structure of a database. How does the organization under-
stand itself and how can I represent that so that we can discuss the information
requirements?
Thanks to this approach, I was able to go into a company in an industry about
which I had little or no previous knowledge and, very quickly, to understand the
underlying nature and issues of the organization—often better than most of the
people who worked there. Part of that has been thanks to the types of questions
data modeling forces me to ask and answer. More than that, I quickly discovered
common patterns that apply to all industries.
It soon became clear to me that what was important in doing my work effi-
ciently was not conventions about syntax (notation) but rather conventions about
semantics (meaning). This was the source of my first book, Data Model Pat-
terns: Conventions of Thought. I had discovered that nearly all commercial and
governmental organizations—in nearly all industries—shared certain semantic
structures, and understanding those structures made it very easy to understand
quickly the semantics that were unique to each.
The one industry that has not been properly addressed in this regard, however,
is our own—information technology. This is at least partly because the patterns
that address most businesses are not as helpful to the understanding this one.
Where a business model represents the semantics of a business, what we need are

xiii
xiv PREFACE

models that represent semantics itself. We need models of the models we use to
describe the business. This is more difficult.
Our industry also has not been properly addressed for the same reason many
companies do not have data models: we have not seen the need. Just as the idea
of modeling an organization’s data seems a little too arcane for many business
people, so too the idea of modeling information technology data seems too strange
for many of us. But the need is definitely there. Just as it is essential for an
organization to better understand the underlying nature of its data (and through
that the underlying nature of its own structure) if it is to acquire and use systems
successfully to meet its customers’ needs, so too is it essential for us to understand
the underlying nature of our data (and through that the underlying nature of our
industry’s own structure) if we are to be successful in producing information
systems products for our customers.
As you will see, some of the semantic patterns are in fact the same for infor-
mation technology as they are for any other industry. Most notably, people and
organizations are components of the information technology world, just as they
are at the heart of any business. Similarly, locating programs and data in the
information technology world is not that different from locating products and
customers in the business world. Beyond these topics, however, the model in this
book is very different from a typical commercial model. Whereas a business is
concerned with modeling products and processes, our model is concerned with
modeling the concepts for describing a product or process.
Aristotle called his work “Meta” physics, simply because it was the one he
wrote after writing the one on physics, the word meta being Greek for “after”.
This book could also be about a “meta” model simply because I am creating it
after years of creating business models. But it is more than that. Because of the
strange nature of Aristotle’s metaphysics, the word meta came to mean “above”
or “beyond”. Because of the strange nature of this model, I am sure no one will
argue against applying the word in this more cosmic sense.

ABOUT THIS BOOK


The “data” in metadata means that this description of our industry will be
expressed as a data model. The concepts are presented here using semantic
Exploring the Variety of Random
Documents with Different Content
THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the


free distribution of electronic works, by using or distributing this
work (or any other work associated in any way with the phrase
“Project Gutenberg”), you agree to comply with all the terms of
the Full Project Gutenberg™ License available with this file or
online at www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand,
agree to and accept all the terms of this license and intellectual
property (trademark/copyright) agreement. If you do not agree
to abide by all the terms of this agreement, you must cease
using and return or destroy all copies of Project Gutenberg™
electronic works in your possession. If you paid a fee for
obtaining a copy of or access to a Project Gutenberg™
electronic work and you do not agree to be bound by the terms
of this agreement, you may obtain a refund from the person or
entity to whom you paid the fee as set forth in paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only


be used on or associated in any way with an electronic work by
people who agree to be bound by the terms of this agreement.
There are a few things that you can do with most Project
Gutenberg™ electronic works even without complying with the
full terms of this agreement. See paragraph 1.C below. There
are a lot of things you can do with Project Gutenberg™
electronic works if you follow the terms of this agreement and
help preserve free future access to Project Gutenberg™
electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright
law in the United States and you are located in the United
States, we do not claim a right to prevent you from copying,
distributing, performing, displaying or creating derivative works
based on the work as long as all references to Project
Gutenberg are removed. Of course, we hope that you will
support the Project Gutenberg™ mission of promoting free
access to electronic works by freely sharing Project Gutenberg™
works in compliance with the terms of this agreement for
keeping the Project Gutenberg™ name associated with the
work. You can easily comply with the terms of this agreement
by keeping this work in the same format with its attached full
Project Gutenberg™ License when you share it without charge
with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.

1.E. Unless you have removed all references to Project


Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project
Gutenberg™ work (any work on which the phrase “Project
Gutenberg” appears, or with which the phrase “Project
Gutenberg” is associated) is accessed, displayed, performed,
viewed, copied or distributed:

This eBook is for the use of anyone anywhere in the United


States and most other parts of the world at no cost and
with almost no restrictions whatsoever. You may copy it,
give it away or re-use it under the terms of the Project
Gutenberg License included with this eBook or online at
www.gutenberg.org. If you are not located in the United
States, you will have to check the laws of the country
where you are located before using this eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is


derived from texts not protected by U.S. copyright law (does not
contain a notice indicating that it is posted with permission of
the copyright holder), the work can be copied and distributed to
anyone in the United States without paying any fees or charges.
If you are redistributing or providing access to a work with the
phrase “Project Gutenberg” associated with or appearing on the
work, you must comply either with the requirements of
paragraphs 1.E.1 through 1.E.7 or obtain permission for the use
of the work and the Project Gutenberg™ trademark as set forth
in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is


posted with the permission of the copyright holder, your use and
distribution must comply with both paragraphs 1.E.1 through
1.E.7 and any additional terms imposed by the copyright holder.
Additional terms will be linked to the Project Gutenberg™
License for all works posted with the permission of the copyright
holder found at the beginning of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files
containing a part of this work or any other work associated with
Project Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute


this electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the
Project Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if
you provide access to or distribute copies of a Project
Gutenberg™ work in a format other than “Plain Vanilla ASCII” or
other format used in the official version posted on the official
Project Gutenberg™ website (www.gutenberg.org), you must,
at no additional cost, fee or expense to the user, provide a copy,
a means of exporting a copy, or a means of obtaining a copy
upon request, of the work in its original “Plain Vanilla ASCII” or
other form. Any alternate format must include the full Project
Gutenberg™ License as specified in paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™
works unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or


providing access to or distributing Project Gutenberg™
electronic works provided that:

• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project


Gutenberg™ electronic work or group of works on different
terms than are set forth in this agreement, you must obtain
permission in writing from the Project Gutenberg Literary
Archive Foundation, the manager of the Project Gutenberg™
trademark. Contact the Foundation as set forth in Section 3
below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on,
transcribe and proofread works not protected by U.S. copyright
law in creating the Project Gutenberg™ collection. Despite these
efforts, Project Gutenberg™ electronic works, and the medium
on which they may be stored, may contain “Defects,” such as,
but not limited to, incomplete, inaccurate or corrupt data,
transcription errors, a copyright or other intellectual property
infringement, a defective or damaged disk or other medium, a
computer virus, or computer codes that damage or cannot be
read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except


for the “Right of Replacement or Refund” described in
paragraph 1.F.3, the Project Gutenberg Literary Archive
Foundation, the owner of the Project Gutenberg™ trademark,
and any other party distributing a Project Gutenberg™ electronic
work under this agreement, disclaim all liability to you for
damages, costs and expenses, including legal fees. YOU AGREE
THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT
LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT
EXCEPT THOSE PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE
THAT THE FOUNDATION, THE TRADEMARK OWNER, AND ANY
DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE LIABLE
TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL,
PUNITIVE OR INCIDENTAL DAMAGES EVEN IF YOU GIVE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of
receiving it, you can receive a refund of the money (if any) you
paid for it by sending a written explanation to the person you
received the work from. If you received the work on a physical
medium, you must return the medium with your written
explanation. The person or entity that provided you with the
defective work may elect to provide a replacement copy in lieu
of a refund. If you received the work electronically, the person
or entity providing it to you may choose to give you a second
opportunity to receive the work electronically in lieu of a refund.
If the second copy is also defective, you may demand a refund
in writing without further opportunities to fix the problem.

1.F.4. Except for the limited right of replacement or refund set


forth in paragraph 1.F.3, this work is provided to you ‘AS-IS’,
WITH NO OTHER WARRANTIES OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of
damages. If any disclaimer or limitation set forth in this
agreement violates the law of the state applicable to this
agreement, the agreement shall be interpreted to make the
maximum disclaimer or limitation permitted by the applicable
state law. The invalidity or unenforceability of any provision of
this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the


Foundation, the trademark owner, any agent or employee of the
Foundation, anyone providing copies of Project Gutenberg™
electronic works in accordance with this agreement, and any
volunteers associated with the production, promotion and
distribution of Project Gutenberg™ electronic works, harmless
from all liability, costs and expenses, including legal fees, that
arise directly or indirectly from any of the following which you
do or cause to occur: (a) distribution of this or any Project
Gutenberg™ work, (b) alteration, modification, or additions or
deletions to any Project Gutenberg™ work, and (c) any Defect
you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new
computers. It exists because of the efforts of hundreds of
volunteers and donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project
Gutenberg™’s goals and ensuring that the Project Gutenberg™
collection will remain freely available for generations to come. In
2001, the Project Gutenberg Literary Archive Foundation was
created to provide a secure and permanent future for Project
Gutenberg™ and future generations. To learn more about the
Project Gutenberg Literary Archive Foundation and how your
efforts and donations can help, see Sections 3 and 4 and the
Foundation information page at www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-
profit 501(c)(3) educational corporation organized under the
laws of the state of Mississippi and granted tax exempt status
by the Internal Revenue Service. The Foundation’s EIN or
federal tax identification number is 64-6221541. Contributions
to the Project Gutenberg Literary Archive Foundation are tax
deductible to the full extent permitted by U.S. federal laws and
your state’s laws.

The Foundation’s business office is located at 809 North 1500


West, Salt Lake City, UT 84116, (801) 596-1887. Email contact
links and up to date contact information can be found at the
Foundation’s website and official page at
www.gutenberg.org/contact
Section 4. Information about Donations to
the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission
of increasing the number of public domain and licensed works
that can be freely distributed in machine-readable form
accessible by the widest array of equipment including outdated
equipment. Many small donations ($1 to $5,000) are particularly
important to maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws


regulating charities and charitable donations in all 50 states of
the United States. Compliance requirements are not uniform
and it takes a considerable effort, much paperwork and many
fees to meet and keep up with these requirements. We do not
solicit donations in locations where we have not received written
confirmation of compliance. To SEND DONATIONS or determine
the status of compliance for any particular state visit
www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states


where we have not met the solicitation requirements, we know
of no prohibition against accepting unsolicited donations from
donors in such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot


make any statements concerning tax treatment of donations
received from outside the United States. U.S. laws alone swamp
our small staff.

Please check the Project Gutenberg web pages for current


donation methods and addresses. Donations are accepted in a
number of other ways including checks, online payments and
credit card donations. To donate, please visit:
www.gutenberg.org/donate.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could
be freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose
network of volunteer support.

Project Gutenberg™ eBooks are often created from several


printed editions, all of which are confirmed as not protected by
copyright in the U.S. unless a copyright notice is included. Thus,
we do not necessarily keep eBooks in compliance with any
particular paper edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg
Literary Archive Foundation, how to help produce our new
eBooks, and how to subscribe to our email newsletter to hear
about new eBooks.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookultra.com

You might also like