In the Projects window, expand the Configuration node in the project you want to modify, and then double-click the Match Field file.
The file opens in the NetBeans XML editor.
Scroll to the MatchingConfig element, and then scroll to the match-system-object element.
To add a field to the match string, do the following:
In the match-columns element, create a new match-column element.
In the new match-column element, create and define a column-name element.
Enter the fully qualified field name of the field on which to match (for example, Enterprise.SystemSBR.Person.Address.City).
Following the column-name element, create and define a match-type element.
Enter an ID that identifies the field to the match engine. For the Sun Match Engine, this value must correspond to a defined match type.
For example:
<match-system-object> <object-name>Address</object-name> <match-columns> <match-column> <column-name>Enterprise.SystemSBR.Person.Address.StreetName </column-name> <match-type>StreetName</match-type> </match-column> </match-columns> </match-system-object> |
To change a field used in the match string, change the value of the column-name element.
Enter the fully qualified field name of the new field (for example, Enterprise.SystemSBR.Person.FirstName).
To change the type of matching to perform for a field, change the value of the match-type element.
Enter an ID that identifies the field to the match engine. For the Sun Match Engine, this value must correspond to a defined match type.
To delete a field from the match string, delete all text between and including the match-column element defining the field you want to delete.
Using the example below, to delete the HouseNo field from the match string, delete the boldface text.
<match-system-object> <object-name>Address</object-name> <match-columns> <match-column> <column-name>Enterprise.SystemSBR.Person.Address.StreetName </column-name> <match-type>StreetName</match-type> </match-column> <match-column> <column-name>Enterprise.SystemSBR.Person.Address.HouseNo </column-name> <match-type>HouseNumber</match-type> </match-column> |
Save and close the file.