Previous Topic: Attribute OptionalityNext Topic: Attribute Domain


Attribute Source Category

An attribute fall into one of four source categories:

CA Gen treats designed attributes as if they were basic.

CA Gen treats derived attributes differently. Values are never merely set to some value; they must be derived using a calculation that is called a derivation algorithm that is assigned to the attribute as part of its definition.

Note: For more information, see Derivation Algorithm.

As an example, the likely source categories of attributes for the entity type CUSTOMER are listed in the following table.

Attribute

Source Category

Number

Designed or Auto Number

Name

Basic

Address

Basic

Phone Number

Basic

Status

Designed or Derived

Credit Rating

Basic, Designed Or Derived

Date Known

Basic

Outstanding Orders Value

Derived

Status and Credit Rating are considered to be either designed or derived, under differing conditions.

Credit Rating could be basic if its value is determined outside the organization, for example, by a credit agency.

Credit Rating could be derived if it is given a value by the business as the result of a specified calculation, or if it is subject to tightly specified rules. However, if it is the result of a less formally specified judgment, it is designed.

Outstanding Orders Value for a particular CUSTOMER entity is assumed to be the sum of the Amounts (an attribute) of all ORDERs (an entity type), which are placed by (a relationship membership) that CUSTOMER. So, its value depends wholly on the values of other attributes and relationship memberships. If the customer places a new order, causing a new pairing that is based on places/is placed by, the value of Outstanding Orders Value is likely to change. If the Amount of any order that is placed by the customer is modified, the value of Outstanding Orders Value change. Outstanding Orders Value is therefore a derived attribute.