org.drools.reteoo
Class QueryElementNode.UnificationNodeViewChangedEventListener

java.lang.Object
  extended by org.drools.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener
All Implemented Interfaces:
InternalViewChangedEventListener
Enclosing class:
QueryElementNode

public static class QueryElementNode.UnificationNodeViewChangedEventListener
extends Object
implements InternalViewChangedEventListener


Field Summary
protected  QueryElementNode node
           
 
Constructor Summary
QueryElementNode.UnificationNodeViewChangedEventListener(LeftTuple leftTuple, int[] variables, QueryElementNode node, boolean tupleMemoryEnabled)
           
 
Method Summary
protected  RightTuple createResultRightTuple(QueryElementFactHandle resultHandle, LeftTuple resultLeftTuple, boolean open)
           
 InternalFactHandle getFactHandle()
           
 LeftTuple getLeftTuple()
           
 List<? extends Object> getResults()
           
 void rowAdded(Rule rule, LeftTuple resultLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void rowRemoved(Rule rule, LeftTuple resultLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void rowUpdated(Rule rule, LeftTuple resultLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void setFactHandle(InternalFactHandle factHandle)
           
 void setVariables(int[] variables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

protected QueryElementNode node
Constructor Detail

QueryElementNode.UnificationNodeViewChangedEventListener

public QueryElementNode.UnificationNodeViewChangedEventListener(LeftTuple leftTuple,
                                                                int[] variables,
                                                                QueryElementNode node,
                                                                boolean tupleMemoryEnabled)
Method Detail

getFactHandle

public InternalFactHandle getFactHandle()

setFactHandle

public void setFactHandle(InternalFactHandle factHandle)

setVariables

public void setVariables(int[] variables)

rowAdded

public void rowAdded(Rule rule,
                     LeftTuple resultLeftTuple,
                     PropagationContext context,
                     InternalWorkingMemory workingMemory)
Specified by:
rowAdded in interface InternalViewChangedEventListener

createResultRightTuple

protected RightTuple createResultRightTuple(QueryElementFactHandle resultHandle,
                                            LeftTuple resultLeftTuple,
                                            boolean open)

rowRemoved

public void rowRemoved(Rule rule,
                       LeftTuple resultLeftTuple,
                       PropagationContext context,
                       InternalWorkingMemory workingMemory)
Specified by:
rowRemoved in interface InternalViewChangedEventListener

rowUpdated

public void rowUpdated(Rule rule,
                       LeftTuple resultLeftTuple,
                       PropagationContext context,
                       InternalWorkingMemory workingMemory)
Specified by:
rowUpdated in interface InternalViewChangedEventListener

getResults

public List<? extends Object> getResults()
Specified by:
getResults in interface InternalViewChangedEventListener

getLeftTuple

public LeftTuple getLeftTuple()


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.