Example Column Populator Configurations
The system uses pattern inheritance, defined by segments of the class name ending in a hyphen, to map classes to tables when no more specific Database Table instance is defined. For example, if (through a Database Table instance) class MyCo-Finance-Loans maps to a table named Loans, then classes such as MyCo-Finance-Loans-Defaulted are also mapped to Loans.
Settings for the Column Populator utility are entered in the prpcServiceUtils.properties or prpcUtils.properties file. This example shows several ways to configure the file depending on the data that you want to process.
For example, a system contains the following classes.
Data-Insurance-
Data-Insurance-Auto-
Data-Insurance-Auto-Claims
Data-Insurance-Auto-Claims-Accident
Data-Insurance-Auto-Claims-Accident-Atfault
Data-Insurance-Auto-Claims-Theft-
Data-Insurance-Home-
Data-Insurance-Home-Inspections
Data-Insurance-Life-
To process all auto:
-
Specify
Data-Insurance-Auto
for the expose.includedClasses (prpcServiceUtils) or expose.classes.included (prpcUtils) property. -
Specify
True
for the expose.includeDescendents (prpcServiceUtils) or expose.included.descendent (prpcUtils) property. - Leave the other properties blank or with default values.
To process only atfault and inspections:
-
Specify
Data-Insurance-Auto-Claims-Atfault
andData-Insurance-Home-Inspections
for the expose.includedClasses (prpcServiceUtils) or expose.classes.included (prpcUtils) property, separated by a comma. -
Specify
True
for the expose.includeDescendents (prpcServiceUtils) or expose.included.descendent (prpcUtils) property. - Leave the other properties blank or with default values.
To process all claims except theft:
-
Specify
Data-Insurance-Auto-Claims
in the expose.includedClasses (prpcServiceUtils) or expose.classes.included (prpcUtils) property. -
Specify
True
for the expose.includeDescendents (prpcServiceUtils) or expose.included.descendent (prpcUtils) property. -
Specify
Data-Insurance-Auto-Claims-Theft-
for the expose.excludedClasses (prpcServiceUtils) or expose.classes.excluded (prpcUtils) property. - Leave the other properties blank or with default values.