|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.structure.NavigateCollectors.AbstractCollector
Field Summary | |
protected static int |
COLLECTION
|
protected static int |
INITIAL_SIZE
|
protected static int |
MAP
|
protected Relationship.Role |
otherSideRole
|
protected Object |
results
|
protected int |
resultType
|
protected boolean |
reverse
|
protected Relationship.Role |
role
|
Constructor Summary | |
protected |
NavigateCollectors.AbstractCollector(Collection collection)
|
protected |
NavigateCollectors.AbstractCollector(WTKeyedMap map,
boolean reverse)
|
Method Summary | |
abstract void |
addElement(Object object)
Add the specified object to the result processor, and increase the size by one Supported API: false |
void |
clearPreviousResults()
Clears previous results. |
protected QueryKey |
createQueryKey(Relationship.Role role,
Object className,
Object identifier)
|
Object |
getResults()
Returns the processed results. |
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. |
int |
size()
Return the number of objects which have been added by the result processor Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int INITIAL_SIZE
protected static final int COLLECTION
protected static final int MAP
protected int resultType
protected Object results
protected Relationship.Role role
protected Relationship.Role otherSideRole
protected boolean reverse
Constructor Detail |
protected NavigateCollectors.AbstractCollector(Collection collection)
protected NavigateCollectors.AbstractCollector(WTKeyedMap map, boolean reverse)
Method Detail |
public abstract void addElement(Object object)
ResultProcessor
addElement
in interface ResultProcessor
object
- public int size()
ResultProcessor
size
in interface ResultProcessor
public void selectWhatToReturn(Relationship relationship, QuerySpec querySpec) throws WTException
NavigateResultProcessor
selectWhatToReturn
in interface NavigateResultProcessor
relationship
- relationship that is being navigatedquerySpec
- query spec that describes how to perform the navigation
WTException
public void clearPreviousResults()
NavigateResultProcessor
clearPreviousResults
in interface NavigateResultProcessor
public void processResults(WTCollection fromObjects) throws WTException
NavigateResultProcessor
processResults
in interface NavigateResultProcessor
fromObjects
- objects we navigated from
WTException
public Object getResults()
NavigateResultProcessor
getResults
in interface NavigateResultProcessor
protected QueryKey createQueryKey(Relationship.Role role, Object className, Object identifier)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |