wt.dataops.objectcol.delegate
Class LatestOfAllO2MDelegate

java.lang.Object
  extended bywt.dataops.objectcol.resolution.AbsResolutionProcessor
      extended bywt.dataops.objectcol.resolution.BaseQueryProcessor
          extended bywt.dataops.objectcol.resolution.RelationshipQueryProcessor
              extended bywt.dataops.objectcol.dependency.RelatedByRelationshipProcessor
                  extended bywt.dataops.objectcol.delegate.LatestOfAllO2MDelegate
All Implemented Interfaces:
CollectionQueryProcessor, Externalizable, RecursiveQueryProcessor, RelatedByProcessor, ResolutionProcessor, Serializable
Direct Known Subclasses:
LatestOfLatestO2MDelegate

public class LatestOfAllO2MDelegate
extends RelatedByRelationshipProcessor

See Also:
Serialized Form

Field Summary
protected static String TGT_CLASS_MASTER_ID_ATTR
           
 
Fields inherited from class wt.dataops.objectcol.dependency.RelatedByRelationshipProcessor
EXTERNALIZATION_VERSION_UID, OLD_FORMAT_VERSION_UID
 
Fields inherited from class wt.dataops.objectcol.resolution.RelationshipQueryProcessor
DOT, firstTime, linkInfo, O2O_ROLE_A_ATTR_NAME, O2O_ROLE_B_ATTR_NAME, resolvedSeeds, shouldRecurseNow
 
Fields inherited from class wt.dataops.objectcol.resolution.AbsResolutionProcessor
 
Constructor Summary
LatestOfAllO2MDelegate()
           
 
Method Summary
protected  void appendRelationshipRoleMasterAttr(QuerySpec spec, Class relClass, int relIdx, Class tgtClass, int tgtIdx)
           
protected  void appendRelationshipTargetJoinCondition(QuerySpec spec, Class relClass, int relIdx, Class tgtClass, int tgtIdx)
           
protected  boolean isRoleMastered(Class relationship)
           
 
Methods inherited from class wt.dataops.objectcol.dependency.RelatedByRelationshipProcessor
appendRelationshipTargetJoin, buildSeedMap, filterSeeds, getInputMap, initialize, isRecursive, newRelatedByRelationshipProcessor, postProcess, process, readExternal, readVersion, setInputMap, writeExternal
 
Methods inherited from class wt.dataops.objectcol.resolution.RelationshipQueryProcessor
appendRelationshipSeedJoin, decideShouldRecurseNow, decideShouldRecurseNow, findRelationshipClassIndex, findSeedsRecursively, getAttrNameForRole, getObjectIdentifier, getObjectsToExclude, getOtherRole, getOtherRole, getRecurseMap, getRelClass, getRoleName, getSeedObjects, getSeedTypes, initialize, process, readVersion, resolveRelationshipClass, resolveSeeds, resolveSeedsToRecurse, setObjectsToExclude, setRecurseMap, setRecursive, setRelClass, setRoleName, setSeedObjects, setSeeds, setSeedTypes, updateQuerySpecWithRel, updateQuerySpecWithRel
 
Methods inherited from class wt.dataops.objectcol.resolution.BaseQueryProcessor
initialize, readVersion
 
Methods inherited from class wt.dataops.objectcol.resolution.AbsResolutionProcessor
getInputs, readVersion, setInputs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TGT_CLASS_MASTER_ID_ATTR

protected static final String TGT_CLASS_MASTER_ID_ATTR
See Also:
Constant Field Values
Constructor Detail

LatestOfAllO2MDelegate

public LatestOfAllO2MDelegate()
Method Detail

appendRelationshipTargetJoinCondition

protected void appendRelationshipTargetJoinCondition(QuerySpec spec,
                                                     Class relClass,
                                                     int relIdx,
                                                     Class tgtClass,
                                                     int tgtIdx)
                                              throws WTException
Overrides:
appendRelationshipTargetJoinCondition in class RelationshipQueryProcessor
Throws:
WTException

isRoleMastered

protected boolean isRoleMastered(Class relationship)
                          throws WTException
Throws:
WTException

appendRelationshipRoleMasterAttr

protected void appendRelationshipRoleMasterAttr(QuerySpec spec,
                                                Class relClass,
                                                int relIdx,
                                                Class tgtClass,
                                                int tgtIdx)
                                         throws WTException
Throws:
WTException