In order to run executeMatch or executeMatchUpdatefrom a client application, you must define a variable of the class type SystemObjectName, where ObjectName is the name of a parent object. This class is passed as a parameter to the execute match methods. The class contains a constructor method and several get and set methods for system fields. It also includes one field that specifies the value of the clear field character (for more information, see Clear Field Indicator).
In the methods described in this section, ObjectName indicates the name of the parent object, Child indicates the name of a child object, and Field indicates the name of a field defined for the parent object.
class SystemObjectName |
The following methods are inherited from java.lang.Object.
equals
hashcode
notify
notifyAll
toString
wait()
wait(long arg)
wait(long timeout, int nanos)
The clear field indicator allows you to specify whether to treat a field in the parent object as null when performing an update from an external system. When an update is performed in the master index application, empty fields typically do not overwrite the value of an existing field. You can specify to nullify a field that already has an existing value in the master index application by entering an indicator in that field. This indicator is specified by the clear field indicator. By default, the clear field indicator is set to double-quotes (“”), so if a field is set to double-quotes, that field will be blanked out in the master index if the incoming record has a field value of null and the record being updated has a field value other than null. If you do not want to use this feature, set the clear field indicator to null.
This method is the user-defined system class for the parent object. You can instantiate this class to create a new instance of the system class.
new SystemObjectName() |
None.
An instance of the SystemObjectName class.
ObjectException
This method retrieves the value of the clear field indicator.
Object getClearFieldIndicator() |
None.
The clear field indicator.
None.
This method retrieves the value of the specified system field. There are getter methods for the following fields: LocalId, SystemCode, Status, CreateDateTime, CreateFunction, CreateUser, and UpdateUser.
String getField() |
or
Date getField() |
None.
The value of the specified field. The type of value returned depends on the field from which the value was retrieved.
ObjectException
This method retrieves the system record JavaBean.
ObjectNameBean getObjectName() |
None.
A JavaBean containing the system record.
None.
This method sets the value of the clear field indicator. By default, this is set to double quotes (“”).
void setClearFieldIndicator(String value) |
Name |
Type |
Description |
---|---|---|
value |
String |
The value that should be entered into a field to indicate that any existing values should be replaced with null. |
None.
None.
This method sets the value of the specified system field. There are setter methods for the following fields: LocalId, SystemCode, Status, CreateDateTime, CreateFunction, CreateUser, and UpdateUser.
void setField(value) |
Name |
Type |
Description |
---|---|---|
value |
varies |
The value to set in the specified field. The type of value depends on the field into which the value is being set. |
None.
ObjectException
This method sets the system object JavaBean.
void setObjectName(ObjectNameBean aObjectName) |
Name |
Type |
Description |
---|---|---|
aObjectName |
ObjectNameBean |
The JavaBean for the parent object. |
None.
ObjectException