|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.survivor.SurvivorCalculator
Survivor calculator class
Constructor Summary | |
SurvivorCalculator(MatchEngineController match)
Creates new SurvivorCalculator using default helper object |
|
SurvivorCalculator(MatchEngineController match,
AbstractSurvivorHelper h)
Creates a new SurvivorCalculator, using the passed in helper object |
|
SurvivorCalculator(Standardizer standardizer)
|
Method Summary | |
void |
determineSurvivor(EnterpriseObject omega)
determines the survivor for each field and updates the SBR record |
java.util.Map |
getLinkValues(EnterpriseObject eo,
java.sql.Connection conn)
To decode the value from LINK information of an Enterprise Object to a Map |
void |
setHelper(AbstractSurvivorHelper h)
sets the helper object |
EnterpriseObject |
updateSBR(java.util.Map mapSystems,
EnterpriseObject eo,
boolean removalFlag)
Updates SBR by collecting the values from MAP to the SBR that specified by EUID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SurvivorCalculator(MatchEngineController match) throws HelperCreationException
match
- MatchEngineController
HelperCreationException
- error during helper creationpublic SurvivorCalculator(MatchEngineController match, AbstractSurvivorHelper h)
match
- MatchEngineControllerh
- helper object referencepublic SurvivorCalculator(Standardizer standardizer) throws HelperCreationException
Method Detail |
public void determineSurvivor(EnterpriseObject omega) throws SurvivorCalculationException, SystemObjectException, ObjectException
omega
- EnterpriseObject
SystemObjectException
- error accessing object node
ObjectException
- object exception
SurvivorCalculationException
- calculation failedpublic java.util.Map getLinkValues(EnterpriseObject eo, java.sql.Connection conn) throws ObjectException, ConnectionInvalidException, OPSException
eo
- the EnterpriseObject that user need to decode the value from LINK informationconn
- Connection Object for querying LINK information
ObjectException
ConnectionInvalidException
OPSException
public void setHelper(AbstractSurvivorHelper h)
h
- helper object referencepublic EnterpriseObject updateSBR(java.util.Map mapSystems, EnterpriseObject eo, boolean removalFlag) throws ProcessingException, UserException
mapSystems
- The Map consists of epath as key and System as value from which the filed should take for updating SBR
ProcessingException
UserException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.