Скачиваний:
126
Добавлен:
14.05.2016
Размер:
1.14 Mб
Скачать

Entity Definitions

Choose names carefully, and be wary of calling two different things by the same name. For example, if you are dealing with a business area which insists on calling its customers “consumers,” do not force or insist on the customer name. You may have discovered an alias, another name for the same thing, or you may have a new “thing” that is distinct from, although similar to, another “thing.” In this case, perhaps

CONSUMER is a category of CUSTOMER that can participate in relationships that are not available for other categories of CUSTOMER.

You can enforce unique naming in the modeling environment. This way you can avoid the accidental use of homonyms (words that are written the same but have different meanings), ambiguous names, or duplication of entities or attributes in the model.

Entity Definitions

Defining the entities in your logical model is essential to the clarity of the model and is a good way to elaborate on the purpose of the entity and clarify which facts you want to include in the entity. Undefined entities or attributes can be misinterpreted in later modeling efforts, and possibly deleted or unified based on the misinterpretation.

Writing a good definition is more difficult than it may seem at first. Everyone knows what a CUSTOMER is, right? Just try writing a definition of a CUSTOMER that holds up to scrutiny. The best definitions are created using the points of view of many different business users and functional groups within the organization. Definitions that can pass the scrutiny of many, disparate users provide a number of benefits including:

Clarity across the enterprise

Consensus about a single fact having a single purpose

Easier identification of categories of data

Most organizations and individuals develop their own conventions or standards for definitions. In practice you will find that long definitions tend to take on a structure that helps the reader to understand the “thing” that is being defined. Some of these definitions can go on for several pages (CUSTOMER, for example). As a starting point, you may want to adopt the following items as a basic standard for the structure of a definition, since IDEF1X and IE do not provide standards for definitions:

Description

Business example

Comments

Chapter 5: Naming and Defining Entities and Attributes 39