第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

  1. Click Menu Design Projects, then click Mortgage Process.
  2. Input Applicant.java in to the project’s asset search box and click the Applicant data object.

  3. 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

  1. Click Menu Design Projects, then click Mortgage Process.
  2. Input Applicantion.java in to the project’s asset search box and click the Application data object.

  3. 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

  1. Click Menu Design Projects, then click Mortgage Process.
  2. Input Property.java in to the project’s asset search box and click the Property data object.

  3. 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

  1. Click Menu Design Projects, then click Mortgage Process.
  2. Input ValidationErrorDO.java in to the project’s asset search box and click the ValidationErrorDO data object.

  3. Review the Property data object fields.

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat