|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.survivor.AbstractSurvivorHelper
com.sun.mdm.index.survivor.impl.DefaultSurvivorHelper
Default survivor helper implementation, using ePath
Field Summary | |
protected java.util.Map |
mEPathCache
pre-parse epaths and cache the ePath objects here |
Fields inherited from class com.sun.mdm.index.survivor.AbstractSurvivorHelper |
mFieldCache, mStrategyCache |
Constructor Summary | |
DefaultSurvivorHelper()
Creates new DefaultSurvivorHelper |
Method Summary | |
protected EPath |
getEPath(java.lang.String s)
|
SystemFieldListMap |
getSystemFields(EnterpriseObject rec,
java.lang.String candidateId)
returns a mapping of system field values for the candidate field |
void |
init(SurvivorHelperConfig config)
|
ObjectNode |
setCandidateFieldValue(ObjectNode eo,
SystemField candidateField)
sets the candidate field on the omega object using the given value |
Methods inherited from class com.sun.mdm.index.survivor.AbstractSurvivorHelper |
clone, executeStrategy, getCandidateFieldNames, getStrategy, getSystemFieldMeta, setCache |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map mEPathCache
Constructor Detail |
public DefaultSurvivorHelper()
Method Detail |
protected EPath getEPath(java.lang.String s) throws EPathException
EPathException
public SystemFieldListMap getSystemFields(EnterpriseObject rec, java.lang.String candidateId) throws SurvivorCalculationException, SystemObjectException
getSystemFields
in class AbstractSurvivorHelper
candidateId
- candidate field namerec
- omega object
SurvivorCalculationException
- unexpected value
SystemObjectException
- error accessing entity objectpublic void init(SurvivorHelperConfig config) throws StrategyCreationException, HelperCreationException
AbstractSurvivorHelper
init
in class AbstractSurvivorHelper
config
- configuration object
StrategyCreationException
- exception when creating a survivor calculation strategy
HelperCreationException
- error creating the helper classpublic ObjectNode setCandidateFieldValue(ObjectNode eo, SystemField candidateField) throws SurvivorCalculationException, SystemObjectException
setCandidateFieldValue
in class AbstractSurvivorHelper
eo
- entity objectcandidateField
- field name and value
SurvivorCalculationException
- unexpected values
SystemObjectException
- error accessing entity object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.