Package org.drools.core.rule
Class AbstractCompositeConstraint.MultiFieldConstraintContextEntry
- java.lang.Object
-
- org.drools.core.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
Fields Modifier and Type Field Description ContextEntry[]
betas
InternalFactHandle
handle
ContextEntry
next
InternalWorkingMemory
workingMemory
-
Constructor Summary
Constructors Constructor Description MultiFieldConstraintContextEntry()
MultiFieldConstraintContextEntry(AlphaNodeFieldConstraint[] alphas, BetaNodeFieldConstraint[] betas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextEntry
getNext()
void
readExternal(ObjectInput in)
void
resetFactHandle()
void
resetTuple()
void
setNext(ContextEntry entry)
void
updateFromFactHandle(InternalWorkingMemory workingMemory, InternalFactHandle handle)
void
updateFromTuple(InternalWorkingMemory workingMemory, Tuple tuple)
void
writeExternal(ObjectOutput out)
-
-
-
Field Detail
-
betas
public ContextEntry[] betas
-
next
public ContextEntry next
-
workingMemory
public InternalWorkingMemory workingMemory
-
handle
public InternalFactHandle handle
-
-
Constructor Detail
-
MultiFieldConstraintContextEntry
public MultiFieldConstraintContextEntry()
-
MultiFieldConstraintContextEntry
public MultiFieldConstraintContextEntry(AlphaNodeFieldConstraint[] alphas, BetaNodeFieldConstraint[] betas)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getNext
public ContextEntry getNext()
- Specified by:
getNext
in interfaceContextEntry
-
setNext
public void setNext(ContextEntry entry)
- Specified by:
setNext
in interfaceContextEntry
-
updateFromFactHandle
public void updateFromFactHandle(InternalWorkingMemory workingMemory, InternalFactHandle handle)
- Specified by:
updateFromFactHandle
in interfaceContextEntry
-
updateFromTuple
public void updateFromTuple(InternalWorkingMemory workingMemory, Tuple tuple)
- Specified by:
updateFromTuple
in interfaceContextEntry
-
resetTuple
public void resetTuple()
- Specified by:
resetTuple
in interfaceContextEntry
-
resetFactHandle
public void resetFactHandle()
- Specified by:
resetFactHandle
in interfaceContextEntry
-
-