Interface IObjectSourceNode
-
- All Superinterfaces:
java.lang.Cloneable
,INode
- All Known Implementing Classes:
AlphaNode
,ReteNode
,RightInputAdapterNode
,SplitNode
,TypeNode
public interface IObjectSourceNode extends INode
A node that is a source of objects. An arbitrary number of object consumer nodes can be attached to an object source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addObjectConsumer(IObjectConsumerNode node)
Add an object consumer node.java.util.Collection
getNodeMemory(ReteMemory mem)
Get the memory for this node.IObjectConsumerNode[]
getObjectConsumers()
Get all object consumer nodes.void
removeObjectConsumer(IObjectConsumerNode node)
Remove an object consumer.-
Methods inherited from interface jadex.rules.rulesystem.rete.nodes.INode
checkNodeConsistency, clone, createNodeMemory, getIndirectAttributes, getNodeId, getRelevantAttributes, modifyIndirectObject
-
-
-
-
Method Detail
-
addObjectConsumer
void addObjectConsumer(IObjectConsumerNode node)
Add an object consumer node.- Parameters:
node
- A new consumer node.
-
removeObjectConsumer
void removeObjectConsumer(IObjectConsumerNode node)
Remove an object 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.
-
getObjectConsumers
IObjectConsumerNode[] getObjectConsumers()
Get all object consumer nodes.- Returns:
- All object consumer nodes.
-
-