|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.decision.DecisionMaker
com.sun.mdm.index.decision.impl.DefaultDecisionMaker
Sample decision maker which chooses the highest weighted record above a match threshold to be the assumed match record.
Constructor Summary | |
DefaultDecisionMaker()
Creates a new instance of DefaultDecisionMaker. |
Method Summary | |
float |
getDuplicateThreshold()
|
float |
getMatchThreshold()
Get match threshold |
boolean |
isOneExactMatchEnabled()
Return true if one exact match enabled |
boolean |
isSameSystemMatchEnabled()
Return true if same system match enabled |
DecisionMakerResult |
process(java.sql.Connection con,
java.util.ArrayList list,
SystemObject so)
Choose the highest weighted record above a match threshold to be the assumed match record. |
void |
setParameter(java.lang.String parameterName,
java.lang.Object value)
See DecisionMaker |
Methods inherited from class com.sun.mdm.index.decision.DecisionMaker |
getMasterController, setMasterController |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultDecisionMaker()
Method Detail |
public float getDuplicateThreshold() throws DecisionMakerException
DecisionMaker
getDuplicateThreshold
in class DecisionMaker
DecisionMakerException
- an error occurredcom.sun.mdm.index.decision.DecisionMaker#getDuplicateThrehsold()
public float getMatchThreshold()
getMatchThreshold
in class DecisionMaker
public boolean isOneExactMatchEnabled()
public boolean isSameSystemMatchEnabled()
public DecisionMakerResult process(java.sql.Connection con, java.util.ArrayList list, SystemObject so) throws DecisionMakerException
process
in class DecisionMaker
list
- See DecisionMakerso
- See DecisionMakercon
- database connection
DecisionMakerException
- See DecisionMakerpublic void setParameter(java.lang.String parameterName, java.lang.Object value) throws DecisionMakerException
setParameter
in class DecisionMaker
parameterName
- See DecisionMakervalue
- See DecisionMaker
DecisionMakerException
- See DecisionMakerDecisionMaker.setParameter(String, Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.