org.drools.rule
Class AbstractCompositeConstraint.MultiFieldConstraintContextEntry

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

protected static class AbstractCompositeConstraint.MultiFieldConstraintContextEntry
extends Object
implements ContextEntry

A context entry for composite restrictions

See Also:
Serialized Form

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

Field Detail

alphas

public ContextEntry[] alphas

betas

public ContextEntry[] betas

next

public ContextEntry next

workingMemory

public InternalWorkingMemory workingMemory

handle

public InternalFactHandle handle
Constructor Detail

AbstractCompositeConstraint.MultiFieldConstraintContextEntry

public AbstractCompositeConstraint.MultiFieldConstraintContextEntry()

AbstractCompositeConstraint.MultiFieldConstraintContextEntry

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

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

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,
                            LeftTuple 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


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