Chapter 4. Viewing the Mortgage_Process data objects
Data objects are the building blocks for the rule assets that you create. Data objects are custom data types implemented as Java classes in specified packages of your project. These custom data types determine what data your assets and your decision services are based on.
This tutorial uses the following data objects:
-
Applicant
-
Application
-
Property
-
ValidationErrorDO
4.1. Viewing the Applicant data object
Follow these steps to familiarize yourself with the predefined Applicant data object, which contains information about the applicant. This is the basic information required to apply for the loan in this tutorial.
Procedure
-
In Business Central, click Menu
Design Projects, and click Mortgage_Process. -
Enter
Applicant.java
in the project’s asset search box, press Enter, and click the Applicant data object. Review the Applicant data object values.
4.2. Viewing the Application data object
Follow these steps to familiarize yourself with the predefined Application data object, which contains information about the mortgage details, such as the down payment and the mortgage amount.
Procedure
-
In Business Central, click Menu
Design Projects, and click Mortgage_Process. -
Enter
Application.java
in the project’s asset search box, press Enter, and click the Application data object. Review the Application data object values.
4.3. Viewing the Property data object
Follow these steps to familiarize yourself with the predefined Property data object, which contains information about the property details, such as the property age and price.
Procedure
-
In Business Central, click Menu
Design Projects, and click Mortgage_Process. -
Enter
Property.java
in the project’s asset search box, press Enter, and click the Property data object. Review the Property data object values.
4.4. Viewing the ValidationErrorDO data object
Follow these steps to familiarize yourself with the predefined ValidationErrorDO data object, which specifies the cause of an application error.
Procedure
-
In Business Central, click Menu
Design Projects, and click Mortgage_Process. -
Enter
ValidationErrorDO.java
in the project’s asset search box, press Enter, and click the ValidationErrorDO data object. Review the ValidationErrorDO data object values.