com.sap.mdm.matching
Interface MatchedRecordResult


public interface MatchedRecordResult

Interface container for one matched record result. It contains the total score for the matched record. In additional, it's also contain detailed score for each individual rule.


Method Summary
 Record getMatchedRecord()
          Returns the matched record.
 int getMatchingClass()
          Returns the matching class (None, Low, High) for the matched record.
 MatchingRuleProperties[] getRules()
          Returns the list of matching rules for the strategy.
 int getRuleScore(MatchingRuleId ruleId)
          Returns the individual matching rule score.
 int getTotalScore()
          Returns the total score for the matched record.
 

Method Detail

getMatchedRecord

public Record getMatchedRecord()
Returns the matched record.

Returns:
the matched record

getTotalScore

public int getTotalScore()
Returns the total score for the matched record.

Returns:
the total score

getRules

public MatchingRuleProperties[] getRules()
Returns the list of matching rules for the strategy.

Returns:
the list of matching rules

getRuleScore

public int getRuleScore(MatchingRuleId ruleId)
Returns the individual matching rule score. The sum of all the matching rule score equals the total score for the matched record.

Parameters:
ruleId - the matching rule to get the score for
Returns:
the matching rule score
See Also:
getTotalScore()

getMatchingClass

public int getMatchingClass()
Returns the matching class (None, Low, High) for the matched record.

Returns:
the matching class
See Also:
getTotalScore()


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.