Business model definitions
Concepts, entities, and events are objects that you can define in the Definitions editor of your business model.
- Concepts
Concepts are generic objects that belong to one or more entities. You define concepts in your business model to represent the elements that agents need to determine what actions to take when a situation is detected. Concepts help to provide context for the agent, so that is can update the bound entity correctly. - 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. - Events
An event is a concept with a time stamp. You define events in your business model to represent the things that happen in your business. Events contain data about the things that happen and must conform to the schema that is defined by the model. - Enumerations
Enumerations are concepts that include a list of possible values. - Attributes
Attributes are properties that specify the information that is associated with an element of your business model. Entities types, concepts, and events types can have attributes. An attribute must have a type that represents the attributes values. If an object is an instance of a type, then it has a single value or a collection of values for each attribute of this type. - Data providers
After you define your concepts, entities and events, you can define a data provider. A data provider is a service that accepts inputs and that returns outputs. - Relationships
You can model relationships between objects. The type of construct that you use determines the type of relationship. You can also define simple and multiple relationships. - Mandatory attributes and relationships
In the business model, you can define the attributes and relationships that are optional or required for the creation of an event or entity instance in a rule. - Target namespaces
You can add a property to an event to specify a target namespace that is used in the XSD file to export. - Facets
You can add a location or time facet to a concept. For example, you can add a location facet to a concept, and use this concept in rules that use a space-driven logic. - Irregular plural form
If a noun has an irregular form, you can specify the plural or singular of the noun. - Gender
Some languages have grammatical gender that can apply to the concepts and attributes in a business model definition. You can specify it by using the gender keyword. The rules that refer to these concepts and attributes are then grammatically correct and easier to read. - Dictionaries
You can add dictionary definitions to specify the translation of terms to use in your solution and their plural form and gender. You can also define a generic dictionary to specify the plural form and gender of English terms.
Parent topic: Modeling entities and events