public class Node extends Object
Constructor and Description |
---|
Node(int stream)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Set<EventBean> |
getEvents()
Returns the results of the lookup.
|
Node |
getParent()
Returns the parent node, or null if this is a root node.
|
EventBean |
getParentEvent()
Returns lookup event.
|
int |
getStream()
Returns the stream number of the stream that supplied the event results.
|
void |
setEvents(Set<EventBean> events)
Store lookup results.
|
void |
setParent(Node parent)
Sets the parent node.
|
void |
setParentEvent(EventBean parentEvent)
Set the parent lookup (from stream) event whose results (to stream) are stored.
|
public Node(int stream)
stream
- this node stores results forpublic int getStream()
public Node getParent()
public void setParent(Node parent)
parent
- to setpublic EventBean getParentEvent()
public void setParentEvent(EventBean parentEvent)
parentEvent
- is the lookup eventpublic Set<EventBean> getEvents()