org.drools.rule
Class AbstractCompositeConstraint.MultiFieldConstraintContextEntry

java.lang.Object
  extended by org.drools.rule.AbstractCompositeConstraint.MultiFieldConstraintContextEntry
All Implemented Interfaces:
java.io.Serializable, ContextEntry
Enclosing class:
AbstractCompositeConstraint

protected static class AbstractCompositeConstraint.MultiFieldConstraintContextEntry
extends java.lang.Object
implements ContextEntry

A context entry for composite restrictions

Author:
etirelli
See Also:
Serialized Form

Field Summary
 ContextEntry[] alphas
           
 ContextEntry[] betas
           
 InternalFactHandle handle
           
 ContextEntry next
           
 InternalWorkingMemory workingMemory
           
 
Constructor Summary
AbstractCompositeConstraint.MultiFieldConstraintContextEntry(AlphaNodeFieldConstraint[] alphas, BetaNodeFieldConstraint[] betas)
           
 
Method Summary
 ContextEntry getNext()
           
 void resetFactHandle()
           
 void resetTuple()
           
 void setNext(ContextEntry entry)
           
 void updateFromFactHandle(InternalWorkingMemory workingMemory, InternalFactHandle handle)
           
 void updateFromTuple(InternalWorkingMemory workingMemory, ReteTuple tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alphas

public final ContextEntry[] alphas

betas

public final ContextEntry[] betas

next

public ContextEntry next

workingMemory

public InternalWorkingMemory workingMemory

handle

public InternalFactHandle handle
Constructor Detail

AbstractCompositeConstraint.MultiFieldConstraintContextEntry

public AbstractCompositeConstraint.MultiFieldConstraintContextEntry(AlphaNodeFieldConstraint[] alphas,
                                                                    BetaNodeFieldConstraint[] betas)
Method Detail

getNext

public ContextEntry getNext()
Specified by:
getNext in interface ContextEntry

setNext

public void setNext(ContextEntry entry)
Specified by:
setNext in interface ContextEntry

updateFromFactHandle

public void updateFromFactHandle(InternalWorkingMemory workingMemory,
                                 InternalFactHandle handle)
Specified by:
updateFromFactHandle in interface ContextEntry

updateFromTuple

public void updateFromTuple(InternalWorkingMemory workingMemory,
                            ReteTuple tuple)
Specified by:
updateFromTuple in interface ContextEntry

resetTuple

public void resetTuple()
Specified by:
resetTuple in interface ContextEntry

resetFactHandle

public void resetFactHandle()
Specified by:
resetFactHandle in interface ContextEntry