public abstract class BaseTuple extends Object implements Tuple
Modifier and Type | Field and Description |
---|---|
protected Tuple |
handleNext |
protected Tuple |
handlePrevious |
protected Sink |
sink |
protected Tuple |
stagedNext |
protected Tuple |
stagedPrevious |
Constructor and Description |
---|
BaseTuple() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getFirstChild, getIndex, getInputOtnId, getLastChild, getMemory, getObject, getParent, getStagedNext, getStagedPrevious, getSubTuple, getTupleSink, getTupleSource, modifyTuple, reAdd, retractTuple, setFirstChild, setLastChild, setMemory, size, toFactHandles, toObjects, unlinkFromLeftParent, unlinkFromRightParent
protected Tuple stagedNext
protected Tuple stagedPrevious
protected Sink sink
protected Tuple handlePrevious
protected Tuple handleNext
public Object getObject(Declaration declaration)
public Object getContextObject()
getContextObject
in interface Tuple
public final void setContextObject(Object contextObject)
setContextObject
in interface Tuple
public short getStagedType()
getStagedType
in interface Tuple
public void setStagedType(short stagedType)
setStagedType
in interface Tuple
public void clearStaged()
clearStaged
in interface Tuple
public InternalFactHandle getFactHandle()
getFactHandle
in interface Tuple
public void setFactHandle(InternalFactHandle handle)
setFactHandle
in interface Tuple
public PropagationContext getPropagationContext()
getPropagationContext
in interface Tuple
public void setPropagationContext(PropagationContext propagationContext)
setPropagationContext
in interface Tuple
public void setStagedNext(Tuple stageNext)
setStagedNext
in interface Tuple
public void setStagedPrevious(Tuple stagedPrevious)
setStagedPrevious
in interface Tuple
public Tuple getPrevious()
getPrevious
in interface Tuple
public void setPrevious(Tuple previous)
setPrevious
in interface Tuple
public InternalFactHandle get(Declaration declaration)
Tuple
FactHandle
for the given Declaration
, which in turn
specifcy the Pattern
that they depend on.public void increaseActivationCountForEvents()
increaseActivationCountForEvents
in interface Tuple
public void decreaseActivationCountForEvents()
decreaseActivationCountForEvents
in interface Tuple
public Tuple getRootTuple()
getRootTuple
in interface Tuple
public Tuple skipEmptyHandles()
skipEmptyHandles
in interface Tuple
public Tuple getHandlePrevious()
getHandlePrevious
in interface Tuple
public void setHandlePrevious(Tuple handlePrevious)
setHandlePrevious
in interface Tuple
public Tuple getHandleNext()
getHandleNext
in interface Tuple
public void setHandleNext(Tuple handleNext)
setHandleNext
in interface Tuple
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.