|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.structure.NavigateCollectors.AbstractCollector
wt.epm.structure.NavigateCollectors.Iterations
This NavigateResultProcessor processes iteration-to-master links. Using the config spec, it finds the appropriate iteration of each other-side master and adds it to a Collection or WTKeyedMap. Note: If the config spec does not select any iteration for a particular master, it adds the master instead.
Field Summary | |
private boolean |
checkForDuplicates
|
private EPMCache.IterationCache |
iterationSelector
|
private Set |
queryKeys
|
private WTSet |
visited
|
Fields inherited from class wt.epm.structure.NavigateCollectors.AbstractCollector |
COLLECTION, INITIAL_SIZE, MAP, otherSideRole, results, resultType, reverse, role |
Constructor Summary | |
NavigateCollectors.Iterations(ConfigSpec configSpec,
Collection collection)
With this constructor, the class will add the config spec selected iterations of the other-side masters to the given Collection. |
|
NavigateCollectors.Iterations(ConfigSpec configSpec,
WTKeyedMap map,
boolean reverse)
With this constructor, the class will add the config spec selected iterations of the other-side masters to the given WTKeyedMap. |
Method Summary | |
void |
addElement(Object object)
Add the specified object to the result processor, and increase the size by one Supported API: false |
void |
processResults(WTCollection fromObjects)
Post processes the results once all of the Binary links have been navigated. |
void |
selectWhatToReturn(Relationship relationship,
QuerySpec querySpec)
Specifies what objects or attributes to return when navigating a Binary link from one set of objects to another. |
Methods inherited from class wt.epm.structure.NavigateCollectors.AbstractCollector |
clearPreviousResults, createQueryKey, getResults, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private EPMCache.IterationCache iterationSelector
private Set queryKeys
private boolean checkForDuplicates
private WTSet visited
Constructor Detail |
public NavigateCollectors.Iterations(ConfigSpec configSpec, Collection collection)
public NavigateCollectors.Iterations(ConfigSpec configSpec, WTKeyedMap map, boolean reverse)
If the reverse flag is false, the values will be WTSets that hold the config spec selected iterations of the other-side masters and the keys will be the query keys for the objects that we navigated from.
If the reverse flag is true, the keys will be the config spec selected iterations of the other-side masters and the values will be WTSets that hold the query keys for the objects that we navigated from.
Method Detail |
public void selectWhatToReturn(Relationship relationship, QuerySpec querySpec) throws WTException
NavigateResultProcessor
selectWhatToReturn
in interface NavigateResultProcessor
selectWhatToReturn
in class NavigateCollectors.AbstractCollector
WTException
public void addElement(Object object)
ResultProcessor
addElement
in interface ResultProcessor
addElement
in class NavigateCollectors.AbstractCollector
public void processResults(WTCollection fromObjects) throws WTException
NavigateResultProcessor
processResults
in interface NavigateResultProcessor
processResults
in class NavigateCollectors.AbstractCollector
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |