Package org.drools.core.rule
Class ReturnValueRestriction.ReturnValueContextEntry
- java.lang.Object
-
- org.drools.core.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
Fields Modifier and Type Field Description ObjectdialectContextReadAccessorfieldExtractorInternalFactHandlehandleDeclaration[]localDeclarationsDeclaration[]previousDeclarationsTupletupleInternalWorkingMemoryworkingMemory
-
Constructor Summary
Constructors Constructor Description ReturnValueContextEntry()ReturnValueContextEntry(ReadAccessor fieldExtractor, Declaration[] previousDeclarations, Declaration[] localDeclarations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadAccessorgetFieldExtractor()InternalFactHandlegetHandle()Declaration[]getLocalDeclarations()ContextEntrygetNext()Declaration[]getPreviousDeclarations()InternalWorkingMemorygetWorkingMemory()voidreadExternal(ObjectInput in)voidresetFactHandle()voidresetTuple()voidsetNext(ContextEntry entry)voidupdateFromFactHandle(InternalWorkingMemory workingMemory, InternalFactHandle handle)voidupdateFromTuple(InternalWorkingMemory workingMemory, Tuple tuple)voidwriteExternal(ObjectOutput out)
-
-
-
Field Detail
-
fieldExtractor
public ReadAccessor fieldExtractor
-
handle
public InternalFactHandle handle
-
tuple
public Tuple tuple
-
workingMemory
public InternalWorkingMemory workingMemory
-
previousDeclarations
public Declaration[] previousDeclarations
-
localDeclarations
public Declaration[] localDeclarations
-
dialectContext
public Object dialectContext
-
-
Constructor Detail
-
ReturnValueContextEntry
public ReturnValueContextEntry()
-
ReturnValueContextEntry
public ReturnValueContextEntry(ReadAccessor fieldExtractor, Declaration[] previousDeclarations, Declaration[] localDeclarations)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getNext
public ContextEntry getNext()
- Specified by:
getNextin interfaceContextEntry
-
setNext
public void setNext(ContextEntry entry)
- Specified by:
setNextin interfaceContextEntry
-
updateFromFactHandle
public void updateFromFactHandle(InternalWorkingMemory workingMemory, InternalFactHandle handle)
- Specified by:
updateFromFactHandlein interfaceContextEntry
-
updateFromTuple
public void updateFromTuple(InternalWorkingMemory workingMemory, Tuple tuple)
- Specified by:
updateFromTuplein interfaceContextEntry
-
getFieldExtractor
public ReadAccessor getFieldExtractor()
-
getHandle
public InternalFactHandle getHandle()
-
getPreviousDeclarations
public Declaration[] getPreviousDeclarations()
-
getLocalDeclarations
public Declaration[] getLocalDeclarations()
-
getWorkingMemory
public InternalWorkingMemory getWorkingMemory()
-
resetTuple
public void resetTuple()
- Specified by:
resetTuplein interfaceContextEntry
-
resetFactHandle
public void resetFactHandle()
- Specified by:
resetFactHandlein interfaceContextEntry
-
-