JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Understanding Oracle Java CAPS Master Index Configuration Options (Repository)     Java CAPS Documentation
search filter icon
search icon

Document Information

Understanding Oracle Java CAPS Master Index Configuration Options (Repository)

Related Topics

About Oracle Java CAPS Master Index (Repository)

Oracle Java CAPS Master Index Configuration

Features of Oracle Java CAPS Master Index

Configuration Overview for Oracle Java CAPS Master Index (Repository)

About the Configuration Files for Oracle Java CAPS Master Index (Repository)

Master Index Object Definition File

Master Index Candidate Select File

Master Index Match Field File

Master Index Threshold File

Master Index Best Record File

Master Index Field Validation File

Master Index Security File

Master Index Enterprise Data Manager File

Match and Standardization Engine Configuration Files

Using the Editors for Oracle Java CAPS Master Index (Repository)

XML Editors

Configuration Editor - Repository

Master Index Object Definition Configuration (Repository)

Master Index Object Definition Components (Repository)

Master Index Object Definition Objects

Master Index Object Definition Fields

Master Index Object Definition Relationships

The Master Index Object Definition File (Repository)

Modifying the Master Index Object Definition

Object Definition File Description

Object Definition File Example

Candidate Select Configuration (Repository)

Query Builder Components (Repository)

Basic Queries in a Master Index (Repository)

Blocking Queries in a Master Index (Repository)

Phonetic Queries in a Master Index (Repository)

Range Searching (Repository)

The Candidate Select File (Repository)

Modifying the Candidate Select File

Candidate Select File Description

Candidate Select Example

Range Search Processing (Repository)

Basic Query Range Searching

Blocking Query Range Searching

Blocking Query Offset Values

Blocking Query Constants

Blocking Query Offset and Constant Combinations

Threshold Configuration (Repository)

Manager Service Components (Repository)

Custom Logic Classes

Update Mode

Merged Record Updates

Blocking Query

Decision Maker

EUID Generator

The Threshold File (Repository)

Modifying the Threshold File

Threshold File Description

Threshold File Example

Match Field Configuration (Repository)

Matching Service Components (Repository)

Standardization Configuration

Matching Configuration

Match and Standardization Engines

Block Picker and Pass Controller

Phonetic Encoders

Sample Standardization and Matching Sequence (Repository)

The Match Field File (Repository)

Modifying the Match Field File

Match Field File Description

Match Field File Example

Best Record Configuration (Repository)

The Survivor Calculator and the SBR (Repository)

Update Manager Components (Repository)

Survivor Helper

Survivor Helper Default Strategy

Survivor Helper Weighted Strategy

Survivor Helper Union Strategy

Weighted Calculator

Weighted Calculator SourceSystem Strategy

Weighted Calculator SystemAgreement Strategy

Weighted Calculator MostRecentModified Strategy

Update Manager Policies

Update Manager Update Policies

Update Manager Update Policy Flag

The Best Record File (Repository)

Modifying the Best Record File

Best Record File Description

Best Record File Example

Weighted Calculator Logic

Field Validation Configuration (Repository)

The Field Validation File (Repository)

Modifying the Field Validation File

Field Validation File Structure

Field Validation File Example

Enterprise Data Manager Configuration

About the EDM

EDM Configuration Components

Object and Field Properties

Relationships

Page Configurations

Audit Log

Local ID Labels

Search Page Configuration

Implementation Configuration

The Enterprise Data Manager File Structure

Modifying the Enterprise Data Manager File

Enterprise Data Manager File Description

Enterprise Data Manager File Example

Master Index Field Notations

ePath Notation

ePath Syntax

ePath Notation Example

Qualified Field Name Notation

Qualified Field Name Syntax

Qualified Field Name Example

Simple Field Name Notation

Simple Field Notation Syntax

Simple Field Notation Example

Field Validation Configuration (Repository)

You can define custom logic for field validations and then specify them in the Field Validation file to associate the logic with the master index application. The custom logic is created as a Java class using the Custom Plug-ins function of the master index project. The custom validation classes must implement com.stc.eindex.objects.validation.ObjectValidator. The exception thrown is com.stc.eindex.objects.validation.exception.ValidationException.

The following topic describes the structure of the Field Validation file and provides information about custom field validators.

The Field Validation File (Repository)

By default, the Field Validation file defines one validation rule named validate-local-id. This rule defines certain validations that are performed against local ID and system fields before they are entered into the database. The local ID validator verifies that the system code is valid, the local ID format is correct, the local ID is the correct length, and that neither field is null.

The following topics provide information about working with the the Field Validation file:

Modifying the Field Validation File

You can modify the Field Validation file using the XML editor. The possible modifications to this file are restricted by the schema definition, so be sure to validate the file after making any changes. When you modify this file, you must regenerate the application and redeploy the project for the changes to take effect.

Field Validation File Structure

The Field Validation file consists primarily of a list of rules. Each rule is defined within the ValidationConfig element and is defined by attributes within a rules element. Table 13 describes the elements and attributes of the Field Validation file.

Table 13 Field Validation File Elements

Element or Attribute
Description
rules
The configuration information for the validation rules.
rule
The configuration information for a specific validation rule in a rules list.
rule/name
A rule attribute that specifies a name for the validation rule.
rule/object-name
A rule attribute that specifies the name of the class that defines the object to which the validation rule is applied, such as SystemObject or ParentNameObject (where ParentName is the name of the parent object in the Object Definition).
rule/class
A rule attribute that specifies the complete path of the Java class containing the validation rule.

Field Validation File Example

Plug the custom validation classes you create into the master index application by specifying the name of the custom plug-in for the class in the Field Validation file, as shown below.

<ValidationConfig module-name="Validation" 
parser-class= "com.stc.eindex.configurator.impl.validation.ValidationConfiguration"
   <rules>
      <rule name="validate-auxiliary-id" object-name="PersonObject"
       class="com.stc.eindex.user.AuxiliaryId"/>
      <rule name="validate-birth-date" object-name="PersonObject"
       class="com.stc.eindex.user.BirthDate"/>
   </rules>
</ValidationConfig>