Entities

Entities are concepts that have an identifier. You define entities in your business model to represent the elements of core interest in your solution. Agents are bound to entities through their identifier and update them when a situation is detected.

Entities are composed of a set of attributes and relationships to other concepts.

You define an entity by using the following syntax:

<an entity> is a business entity identified by <an id>.

The following example shows a flight entity that has a flight number as the identifier:
a flight is a business entity identified by a flight number.

You do not need to specify the type of the entity identifier because the type is String by default.

An entity can inherit from another entity:<an entity> is <an entity>.

The entity identifier is inherited from the base entity.

In the following example, a person is an entity that is already defined:

a customer is a person.