org.drools.reteoo
Interface TupleSinkNode

All Superinterfaces:
java.io.Serializable, TupleSink
All Known Implementing Classes:
AccumulateNode, CollectNode, EvalConditionNode, ExistsNode, FromNode, JoinNode, NotNode, QueryTerminalNode, RightInputAdapterNode, RuleTerminalNode

public interface TupleSinkNode
extends TupleSink

Items placed in a LinkedList must implement this interface .

Author:
Mark Proctor, Bob McWhirter
See Also:
TupleSinkNodeList

Method Summary
 TupleSinkNode getNextTupleSinkNode()
          Returns the next node
 TupleSinkNode getPreviousTupleSinkNode()
          Returns the previous node
 void setNextTupleSinkNode(TupleSinkNode next)
          Sets the next node
 void setPreviousTupleSinkNode(TupleSinkNode previous)
          Sets the previous node
 
Methods inherited from interface org.drools.reteoo.TupleSink
assertTuple, isTupleMemoryEnabled, retractTuple, setTupleMemoryEnabled
 

Method Detail

getNextTupleSinkNode

TupleSinkNode getNextTupleSinkNode()
Returns the next node

Returns:
The next LinkedListNode

setNextTupleSinkNode

void setNextTupleSinkNode(TupleSinkNode next)
Sets the next node

Parameters:
next - The next LinkedListNode

getPreviousTupleSinkNode

TupleSinkNode getPreviousTupleSinkNode()
Returns the previous node

Returns:
The previous LinkedListNode

setPreviousTupleSinkNode

void setPreviousTupleSinkNode(TupleSinkNode previous)
Sets the previous node

Parameters:
previous - The previous LinkedListNode