Bound entity and events

The agent descriptor defines the bound entity and the events that you use in the rules.

The following graphic shows how the entity and event types that are defined in the business model definitions (.bmd) are used in the rule agent.

airport entity
The airport entity is referenced in the agent descriptor to specify that it is the bound entity of the agent. The airport entity can then be used in the rules of this agent by using the variable 'the airport'.
airport closed event
The airport closed event is referenced in the agent descriptor as an event that the agent listens to. This event is then used in the when part of the rule.
Graphic that describes entities and events and how they are referenced in the .bmd file, in the agent descriptor file, and in the rules