com.sap.mdm.matching
Class MatchingStrategyProperties

java.lang.Object
  extended bycom.sap.mdm.matching.MatchingStrategyProperties
All Implemented Interfaces:
Cloneable, NamedRepositoryItem, RepositoryItem

public class MatchingStrategyProperties
extends Object
implements NamedRepositoryItem

This class defines a matching strategy. A matching strategy is defined as consisting of transformations, matching rules, and scoring thresholds


Nested Class Summary
 class MatchingStrategyProperties.MatchingClass
          This class defines a list of enumerations, specifying the magnitude level of the matching score.
 
Constructor Summary
MatchingStrategyProperties(TableId tableId, MatchingStrategyId id, RegionalString name, int minScore, int maxScore, int lowerThreshold, int upperThreshold, MatchingRuleProperties[] rules)
          Constructor for the specified parameter values.
 
Method Summary
 boolean equals(Object obj)
           
 String getCode()
          Returns a string identifier for a named repository object.
 int getHighThreshold()
          Returns the high threshold value.
 MatchingStrategyId getId()
          Returns the matching strategy Id.
 int getLowThreshold()
          Returns the low threshold value.
 int getMaxScore()
          Returns the maximum score.
 int getMinScore()
          Returns the minimum score.
 MultilingualString getName()
          Returns the strategy name.
 MatchingRuleProperties[] getRules()
          Returns the list of matching rules making up this matching strategy.
 TableId getTableId()
          Returns the table Id.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatchingStrategyProperties

public MatchingStrategyProperties(TableId tableId,
                                  MatchingStrategyId id,
                                  RegionalString name,
                                  int minScore,
                                  int maxScore,
                                  int lowerThreshold,
                                  int upperThreshold,
                                  MatchingRuleProperties[] rules)
Constructor for the specified parameter values.

Parameters:
id - a matching strategy Id
name - a matching strategy name
minScore - the minimum score possible for the strategy
maxScore - the maximum score possible for the strategy
lowerThreshold - a lower threshold for determining no match or low match
upperThreshold - a upper threshold for determining low match or high match
rules - the list of rules for this matching strategy
Method Detail

getTableId

public TableId getTableId()
Returns the table Id.

Returns:
a table Id

getCode

public String getCode()
Description copied from interface: NamedRepositoryItem
Returns a string identifier for a named repository object.

Specified by:
getCode in interface NamedRepositoryItem
Returns:
the code name

getHighThreshold

public int getHighThreshold()
Returns the high threshold value. This value is use for determining if a match falls into low or high.

Returns:
a high threshold value

getId

public MatchingStrategyId getId()
Returns the matching strategy Id. This is the Id of the strategy that was executed.

Returns:
a matching strategy Id

getLowThreshold

public int getLowThreshold()
Returns the low threshold value. This value is use for determining if a match falls into low or none.

Returns:
a low threshold value

getMaxScore

public int getMaxScore()
Returns the maximum score. The maximum score is the total of successful scores for all matching rules.

Returns:
a maximum score

getMinScore

public int getMinScore()
Returns the minimum score. The minimum score is the total of failure scores for all matching rules.

Returns:
a minimum score

getName

public MultilingualString getName()
Returns the strategy name.

Returns:
a strategy name

getRules

public MatchingRuleProperties[] getRules()
Returns the list of matching rules making up this matching strategy.

Returns:
a list of matching rules

toString

public String toString()

hashCode

public int hashCode()

equals

public boolean equals(Object obj)


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.