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


Constructor Summary
QueryElementNode.UnificationNodeViewChangedEventListener(LeftTuple leftTuple, int[] variables, QueryElementNode node, boolean tupleMemoryEnabled)
           
 
Method Summary
 InternalFactHandle getFactHandle()
           
 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
 

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

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


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.