Chapter 4. Data objects
Data objects are the building blocks for the rule assets that you create. Data objects are custom data types implemented as Java objects in specified packages of your project. For example, you might create a Person object with data fields Name, Address, and DateOfBirth to specify personal details for loan application rules. These custom data types determine what data your assets and your decision service are based on.
For more information about creating data objects, see "Creating data objects" in Designing a decision service using guided decision tables.
4.1. Viewing the Mortgage Process data objects
This tutorial utilizes the predefined data objects in the Mortgage Process sample project.
The Mortgage Process data model is composed of four data objects:
-
Applicant -
Application -
Property -
ValidationErrorDo
4.1.1. Viewing the Applicant data object
Follow these steps to familiarize yourself with the predefined Applicant data object.
Procedure
- Click Menu → Design → Projects, then click Mortgage Process.
Input
Applicant.javain to the project’s asset search box and click the Applicant data object.
Review the Applicant data object fields.

4.1.2. Viewing the Application data object
Follow these steps to familiarize yourself with the predefined Application data object.
Procedure
- Click Menu → Design → Projects, then click Mortgage Process.
Input
Application.javain to the project’s asset search box and click the Application data object.
Review the Application data object fields.

4.1.3. Viewing the Property data object
Follow these steps to familiarize yourself with the predefined Property data object.
Procedure
- Click Menu → Design → Projects, then click Mortgage Process.
Input
Property.javain to the project’s asset search box and click the Property data object.
Review the Property data object fields.

4.1.4. Viewing the ValidationErrorDO data object
Follow these steps to familiarize yourself with the predefined ValidationErrorDO data object.
Procedure
- Click Menu → Design → Projects, then click Mortgage Process.
Input
ValidationErrorDO.javain to the project’s asset search box and click the ValidationErrorDO data object.
Review the Property data object fields.


Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.