Business model definitions
Concepts, entities, and events are objects that you can define in the Definitions editor of your business model.
- Concepts
Concepts are types of objects that can exist separately or belong to one or more entities and events. You define concepts in your business model to represent different types of real-world objects of your business logic, usually to reuse them in more complex object types. - Entities
Entities are objects that have an identifier. You define entity types in your business model to represent the objects of core interest in your solution. Agents are bound to entities through their identifier and can update them when a situation is detected. - Events
An event is an object with a time stamp. You define event types 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 event type that you define in the model. - Enumerations
Enumerations are concepts that contain a list of possible values. You use enumerations to describe attributes that can have a number of specific values. You can then use these attributes in the definition of concepts and entity or event types. - Attributes
Attributes are properties that specify the information that is associated with an object of your business model. Concepts and entity and event types can have attributes, and instances of these types have values for these attributes. Each attribute has a name and a type that represents its possible values. - Relationships
You can model relationships between objects. The type of construct that you use determines the type of relationship. You can define single-valued and multi-valued relationships. - Mandatory attributes and relationships
In the business model, you can define the attributes and relationships for which values are optional or required for the creation of an event or entity in a rule. - Facets
You can add a location or time facet to a concept to use this concept as a location or as a time in rules. For example, you can add a location facet to a concept, and use this concept in rules that apply to spatial reasoning. - Data providers
After you define your concept, entity and event types, you can define a data provider. A data provider is a service that accepts inputs and that returns outputs. - 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. - 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. - Target namespaces
You can add a property to an event type to specify a target namespace that is used in the XSD file to export.
Parent topic: Modeling entities and events