edu.uky.kcr.recordlinkage.configuration
Class BlockingConfiguration

java.lang.Object
  extended by edu.uky.kcr.recordlinkage.configuration.BlockingConfiguration

public class BlockingConfiguration
extends java.lang.Object

This class describes a single blocking configuration item in a LinkageConfiguration. It will be used to "block", or limit, the records that are considered for a linkage operation.

Author:
ihands

Constructor Summary
BlockingConfiguration(java.lang.String primaryFieldString, java.lang.String secondaryFieldName, java.lang.String method)
           
 
Method Summary
 java.lang.String getMethod()
           
 java.lang.String getPrimaryFieldName()
           
 java.lang.String getSecondaryFieldName()
           
 void setMethod(java.lang.String method)
           
 void setPrimaryFieldName(java.lang.String primaryFieldName)
           
 void setSecondaryFieldName(java.lang.String secondaryFieldName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockingConfiguration

public BlockingConfiguration(java.lang.String primaryFieldString,
                             java.lang.String secondaryFieldName,
                             java.lang.String method)
Method Detail

getPrimaryFieldName

public java.lang.String getPrimaryFieldName()
Returns:
Field name, or column name in the case of a database-backed record, for a DataSourceRecord from the primary data source in a linkage operation.

setPrimaryFieldName

public void setPrimaryFieldName(java.lang.String primaryFieldName)
Parameters:
primaryFieldName - Field name, or column name in the case of a database-backed record, for a DataSourceRecord from the primary data source in a linkage operation.

getSecondaryFieldName

public java.lang.String getSecondaryFieldName()
Returns:
Field name, or column name in the case of a database-backed record, for a DataSourceRecord from the secondary data source in a linkage operation.

setSecondaryFieldName

public void setSecondaryFieldName(java.lang.String secondaryFieldName)
Parameters:
secondaryFieldName - Field name, or column name in the case of a database-backed record, for a DataSourceRecord from the secondary data source in a linkage operation.

getMethod

public java.lang.String getMethod()
Returns:
One of the strings defined with the prefix BLOCKING_METHOD_ in the LinkageConfigurationConstants class.

setMethod

public void setMethod(java.lang.String method)
Parameters:
method - One of the strings defined with the prefix BLOCKING_METHOD_ in the LinkageConfigurationConstants class.