Previous Topic: Entity Life and Entity Type Life-CycleNext Topic: Entity Life-Cycle Diagram


Entity States

The entity type life-cycle consists of a series of entity states, that have been defined as subtypes in the life-cycle partitioning.

An entity can exist in one of four states:

The lives of different entities of the same type can vary greatly from one another, based on the complexity of their entity type life-cycle. While every entity type has a life-cycle, many are so simple that they do not require explicit definition.

The simplest entity type life-cycle has only one explicit state indicating its existence. When an entity of this type is created, it moves from the null state to the creation state Exists. When it is deleted, it returns to the null state as its termination state. A life-cycle partitioning never explicitly partitions entity types with such simple life-cycles.

The following illustration shows an entity type with a simple life-cycle.

Analyzing Events

A customer is either active, suspended, or does not exist. Its creation state is simply Active, and its termination state is Suspended.

Customer does not need a life-cycle partitioning; nor is it necessary to develop an Entity Life-cycle Diagram for such a trivial case.

For a given life-cycle partitioning, every entity is in only one state at a given point in time.

Every entity type has at least one creation and one termination state. Since the termination state is null, it is not specified explicitly.