public interface InternalFactHandle extends org.kie.api.runtime.rule.FactHandle, Cloneable
Modifier and Type | Interface and Description |
---|---|
static class |
InternalFactHandle.DummyFactHandle |
static interface |
InternalFactHandle.LinkedTuples |
int getId()
long getRecency()
Object getObject()
String getObjectClassName()
void setObject(Object object)
void setEqualityKey(EqualityKey key)
EqualityKey getEqualityKey()
void setRecency(long recency)
void invalidate()
boolean isValid()
int getIdentityHashCode()
int getObjectHashCode()
boolean isDisconnected()
boolean isEvent()
boolean isTraitOrTraitable()
boolean isTraitable()
boolean isTraiting()
TraitTypeEnum getTraitType()
RightTuple getFirstRightTuple()
LeftTuple getFirstLeftTuple()
WorkingMemoryEntryPoint getEntryPoint()
void setEntryPoint(WorkingMemoryEntryPoint ep)
InternalFactHandle clone()
String toExternalForm()
toExternalForm
in interface org.kie.api.runtime.rule.FactHandle
void disconnect()
void addFirstLeftTuple(LeftTuple leftTuple)
void addLastLeftTuple(LeftTuple leftTuple)
void removeLeftTuple(LeftTuple leftTuple)
void clearLeftTuples()
void clearRightTuples()
void addFirstRightTuple(RightTuple rightTuple)
void addLastRightTuple(RightTuple rightTuple)
void removeRightTuple(RightTuple rightTuple)
void addTupleInPosition(Tuple tuple)
boolean isNegated()
void setNegated(boolean negated)
<K> K as(Class<K> klass) throws ClassCastException
ClassCastException
boolean isExpired()
boolean isPendingRemoveFromStore()
void forEachRightTuple(Consumer<RightTuple> rightTupleConsumer)
RightTuple findFirstRightTuple(Predicate<RightTuple> rightTuplePredicate)
void setFirstLeftTuple(LeftTuple firstLeftTuple)
InternalFactHandle.LinkedTuples detachLinkedTuples()
InternalFactHandle.LinkedTuples detachLinkedTuplesForPartition(int i)
InternalFactHandle.LinkedTuples getLinkedTuples()
default InternalDataSource<?> getDataSource()
default InternalFactHandle getParentHandle()
default void setParentHandle(InternalFactHandle parentHandle)
static InternalFactHandle dummyFactHandleOf(Object object)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.