Interface IObjectConsumerNode
-
- All Superinterfaces:
java.lang.Cloneable
,INode
- All Known Implementing Classes:
AbstractBetaNode
,AlphaNode
,BetaNode
,InitialFactNode
,LeftInputAdapterNode
,NotNode
,SplitNode
,TypeNode
public interface IObjectConsumerNode extends INode
A node that is able to consume objects from a source node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addObject(java.lang.Object object, IOAVState state, ReteMemory mem, AbstractAgenda agenda)
Send an object to this node.IObjectSourceNode
getObjectSource()
Get the object source of this node.void
modifyObject(java.lang.Object object, OAVAttributeType type, java.lang.Object oldvalue, java.lang.Object newvalue, IOAVState state, ReteMemory mem, AbstractAgenda agenda)
Propagate an object change to this node.void
removeObject(java.lang.Object object, IOAVState state, ReteMemory mem, AbstractAgenda agenda)
Send a removed object to this node.void
setObjectSource(IObjectSourceNode node)
Set the object source of this node.-
Methods inherited from interface jadex.rules.rulesystem.rete.nodes.INode
checkNodeConsistency, clone, createNodeMemory, getIndirectAttributes, getNodeId, getNodeMemory, getRelevantAttributes, modifyIndirectObject
-
-
-
-
Method Detail
-
addObject
void addObject(java.lang.Object object, IOAVState state, ReteMemory mem, AbstractAgenda agenda)
Send an object to this node.- Parameters:
object
- The object.
-
removeObject
void removeObject(java.lang.Object object, IOAVState state, ReteMemory mem, AbstractAgenda agenda)
Send a removed object to this node.- Parameters:
object
- The object.
-
modifyObject
void modifyObject(java.lang.Object object, OAVAttributeType type, java.lang.Object oldvalue, java.lang.Object newvalue, IOAVState state, ReteMemory mem, AbstractAgenda agenda)
Propagate an object change to this node.- Parameters:
object
- The new object.
-
setObjectSource
void setObjectSource(IObjectSourceNode node)
Set the object source of this node.- Parameters:
node
- The object source node.
-
getObjectSource
IObjectSourceNode getObjectSource()
Get the object source of this node.- Returns:
- The object source node.
-
-