|
|||||||||||
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.Links
This NavigateResultProcessor collects the links and adds them to a Collection or WTKeyedMap.
Field Summary |
Fields inherited from class wt.epm.structure.NavigateCollectors.AbstractCollector |
COLLECTION, INITIAL_SIZE, MAP, otherSideRole, results, resultType, reverse, role |
Constructor Summary | |
NavigateCollectors.Links(Collection collection)
With this constructor, the class will add the links returned to the given Collection. |
|
NavigateCollectors.Links(WTKeyedMap map,
boolean reverse)
With this constructor, the class will add the links 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 |
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, processResults, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NavigateCollectors.Links(Collection collection)
public NavigateCollectors.Links(WTKeyedMap map, boolean reverse)
If the reverse flag is false, the class will sort the links based upon the role that we navigated from.
If the reverse flag is true, the class will sort the links based based upon the role that we navigated to (i.e. other-side role).
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |