public interface InternalFactHandle extends org.kie.api.runtime.rule.FactHandle, Cloneable, Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
InternalFactHandle.DummyFactHandle |
static interface |
InternalFactHandle.LinkedTuples |
long 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()
default InternalWorkingMemory getWorkingMemory()
EntryPointId getEntryPointId()
default String getEntryPointName()
WorkingMemoryEntryPoint getEntryPoint(InternalWorkingMemory wm)
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 InternalFactHandle getParentHandle()
default void setParentHandle(InternalFactHandle parentHandle)
static InternalFactHandle dummyFactHandleOf(Object object)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.