org.drools.rule
Class ReturnValueRestriction.ReturnValueContextEntry

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

public static class ReturnValueRestriction.ReturnValueContextEntry
extends Object
implements ContextEntry

See Also:
Serialized Form

Field Summary
 Object dialectContext
           
 ReadAccessor fieldExtractor
           
 InternalFactHandle handle
           
 LeftTuple leftTuple
           
 Declaration[] localDeclarations
           
 Declaration[] previousDeclarations
           
 InternalWorkingMemory workingMemory
           
 
Constructor Summary
ReturnValueRestriction.ReturnValueContextEntry()
           
ReturnValueRestriction.ReturnValueContextEntry(ReadAccessor fieldExtractor, Declaration[] previousDeclarations, Declaration[] localDeclarations)
           
 
Method Summary
 ReadAccessor getFieldExtractor()
           
 InternalFactHandle getHandle()
           
 Declaration[] getLocalDeclarations()
           
 ContextEntry getNext()
           
 Declaration[] getPreviousDeclarations()
           
 LeftTuple getTuple()
           
 InternalWorkingMemory getWorkingMemory()
           
 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

fieldExtractor

public ReadAccessor fieldExtractor

handle

public InternalFactHandle handle

leftTuple

public LeftTuple leftTuple

workingMemory

public InternalWorkingMemory workingMemory

previousDeclarations

public Declaration[] previousDeclarations

localDeclarations

public Declaration[] localDeclarations

dialectContext

public Object dialectContext
Constructor Detail

ReturnValueRestriction.ReturnValueContextEntry

public ReturnValueRestriction.ReturnValueContextEntry()

ReturnValueRestriction.ReturnValueContextEntry

public ReturnValueRestriction.ReturnValueContextEntry(ReadAccessor fieldExtractor,
                                                      Declaration[] previousDeclarations,
                                                      Declaration[] localDeclarations)
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

getFieldExtractor

public ReadAccessor getFieldExtractor()

getTuple

public LeftTuple getTuple()

getHandle

public InternalFactHandle getHandle()

getPreviousDeclarations

public Declaration[] getPreviousDeclarations()

getLocalDeclarations

public Declaration[] getLocalDeclarations()

getWorkingMemory

public InternalWorkingMemory getWorkingMemory()

resetTuple

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

resetFactHandle

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


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