Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Create a Business Domain Model

The Business Domain Model provides the business vocabulary - the terms and facts - on which Business Rules can be modeled. In Enterprise Architect a Business Domain model is represented as a conceptual Class diagram, as illustrated by this diagram for the Car Rental System example from the EAExample model.

FactModel
 

In the Business Domain model shown in this diagram, the Classes Rent, Customer, Car and Application, together with their attributes and operations, provide the terms for the business vocabulary for the car rental system. The Class Rental System processes the rules; to make this possible, you add a Rule Flow Activity as a behavior for this Class.

When you create a Rule Flow Activity under a Class, you model the events and sequence as a structure of Rule Tasks (Actions). When you generate code for the Class (in the example, Rental System) the rule flow behavior is rendered as a method inside the Class.

Alternatively, if you have existing operations in the Class that already suit the purpose, you can model business tasks in those operations. When code is generated for the Class, the rules logic is generated as the method body for the corresponding operation.

Notes

When you create Classes in the Business Domain model, select the correct language for code generation to ensure that the correct data type is set for attributes and operation parameters
Business Rules code generation is supported for the following languages:
C++
C#
Java
VB.Net
 

Learn more

Learning Center topics

(Alt+F1) | Business Modeling | Business Rules | Business Domain Model