Interface ITupleSourceNode
-
- All Superinterfaces:
java.lang.Cloneable
,INode
- All Known Implementing Classes:
AbstractBetaNode
,BetaNode
,CollectNode
,InitialFactNode
,LeftInputAdapterNode
,NotNode
,TestNode
public interface ITupleSourceNode extends INode
A node that is a source of tuples. An arbitrary number of object consumer nodes can be attached to a tuple source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTupleConsumer(ITupleConsumerNode node)
Add an tuple consumer node.java.util.Collection
getNodeMemory(ReteMemory mem)
Get the memory for this node.ITupleConsumerNode[]
getTupleConsumers()
Get all tuple consumer nodes.void
removeTupleConsumer(ITupleConsumerNode node)
Remove an tuple consumer.-
Methods inherited from interface jadex.rules.rulesystem.rete.nodes.INode
checkNodeConsistency, clone, createNodeMemory, getIndirectAttributes, getNodeId, getRelevantAttributes, modifyIndirectObject
-
-
-
-
Method Detail
-
addTupleConsumer
void addTupleConsumer(ITupleConsumerNode node)
Add an tuple consumer node.- Parameters:
node
- A new consumer node.
-
removeTupleConsumer
void removeTupleConsumer(ITupleConsumerNode node)
Remove an tuple consumer.- Parameters:
node
- The consumer node.
-
getNodeMemory
java.util.Collection getNodeMemory(ReteMemory mem)
Get the memory for this node.- Specified by:
getNodeMemory
in interfaceINode
- Returns:
- The memory.
-
getTupleConsumers
ITupleConsumerNode[] getTupleConsumers()
Get all tuple consumer nodes.- Returns:
- All tuple consumer nodes.
-
-