com.sap.mdm.matching
Interface MatchingResult


public interface MatchingResult

Interface container for one source record for matching. It contains the source record, along with the number of matched record count, the highest score among the matched records. In addition, may include the list of matched records for this source record.


Method Summary
 int getHighestMatchingClass()
          Returns the highest matching class (None, Low, High).
 int getHighestScore()
          Returns the highest score among the matched records.
 int getMatchCount()
          Returns the match count for the source record.
 MatchedRecordResult[] getMatchedRecordResults()
          Returns the list of matched records result.
 Record getSourceRecord()
          Returns the source record.
 

Method Detail

getMatchCount

public int getMatchCount()
Returns the match count for the source record.

Returns:
the match count

getSourceRecord

public Record getSourceRecord()
Returns the source record. This is the source record from which to find the other matching records.

Returns:
the source record

getHighestScore

public int getHighestScore()
Returns the highest score among the matched records.

Returns:
the highest score
See Also:
getHighestMatchingClass()

getHighestMatchingClass

public int getHighestMatchingClass()
Returns the highest matching class (None, Low, High). This is basically the categorization of the highest score.

Returns:
the matching class
See Also:
getHighestScore(), MatchingStrategyProperties.MatchingClass

getMatchedRecordResults

public MatchedRecordResult[] getMatchedRecordResults()
Returns the list of matched records result.

Returns:
the list of matched records result.

Returns null if the matched records were not retrieved.

Returns empty array if there are zero matched records.



Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.