wt.epm.retriever
Class ResultList
java.lang.Object
wt.epm.retriever.ResultList
- All Implemented Interfaces:
- PopulatableResult
- public class ResultList
- extends Object
- implements PopulatableResult
A simple result of the dependency retriever.
May be subclassed to provide more sophisticated behavior.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodes
protected WTCollection nodes
links
protected WTCollection links
ResultList
public ResultList()
populate
public void populate(WTCollection nodes,
WTCollection links)
- Takes collections of traced objects and links to build a specific result
structure. Does not copy the collections, just remembers references to them.
- Specified by:
populate
in interface PopulatableResult
- Parameters:
nodes
- WTCollection of Iterated or Mastered objects. May be empty.links
- WTCollection of BinaryLink objects. May be empty.
- Throws:
NullPointerException
- if either of the parameters is null.
getLinks
public WTCollection getLinks()
- Links retrieved by the dependency tracer.
- Returns:
- unmodifiable WTCollection
getNodes
public WTCollection getNodes()
- Iterated or Mastered objects retrieved by the dependency tracer.
- Returns:
- unmodifiable WTCollection