public class DisconnectedFactHandle extends Object implements InternalFactHandle, Externalizable
Constructor and Description |
---|
DisconnectedFactHandle() |
DisconnectedFactHandle(int id,
int identityHashCode,
int objectHashCode,
long recency,
boolean isTraitOrTraitable) |
DisconnectedFactHandle(int id,
int identityHashCode,
int objectHashCode,
long recency,
Object object,
boolean isTraitOrTraitable) |
DisconnectedFactHandle(int id,
int identityHashCode,
int objectHashCode,
long recency,
String entryPointId,
Object object,
boolean isTraitOrTraitable) |
DisconnectedFactHandle(String externalFormat) |
public DisconnectedFactHandle()
public DisconnectedFactHandle(int id, int identityHashCode, int objectHashCode, long recency, String entryPointId, Object object, boolean isTraitOrTraitable)
public DisconnectedFactHandle(int id, int identityHashCode, int objectHashCode, long recency, Object object, boolean isTraitOrTraitable)
public DisconnectedFactHandle(int id, int identityHashCode, int objectHashCode, long recency, boolean isTraitOrTraitable)
public DisconnectedFactHandle(String externalFormat)
public boolean isNegated()
isNegated
in interface InternalFactHandle
public void setNegated(boolean negated)
setNegated
in interface InternalFactHandle
public <K> K as(Class<K> klass) throws ClassCastException
as
in interface InternalFactHandle
ClassCastException
public boolean isExpired()
isExpired
in interface InternalFactHandle
public boolean isPendingRemoveFromStore()
isPendingRemoveFromStore
in interface InternalFactHandle
public int getId()
getId
in interface InternalFactHandle
public int getIdentityHashCode()
getIdentityHashCode
in interface InternalFactHandle
public int getObjectHashCode()
getObjectHashCode
in interface InternalFactHandle
public long getRecency()
getRecency
in interface InternalFactHandle
public LeftTuple getLastLeftTuple()
getLastLeftTuple
in interface InternalFactHandle
public String getObjectClassName()
getObjectClassName
in interface InternalFactHandle
public Object getObject()
getObject
in interface InternalFactHandle
public InternalWorkingMemoryEntryPoint getEntryPoint()
getEntryPoint
in interface InternalFactHandle
public EqualityKey getEqualityKey()
getEqualityKey
in interface InternalFactHandle
public RightTuple getRightTuple()
public void invalidate()
invalidate
in interface InternalFactHandle
public boolean isEvent()
InternalFactHandle
isEvent
in interface InternalFactHandle
public boolean isTraitOrTraitable()
isTraitOrTraitable
in interface InternalFactHandle
public boolean isTraitable()
isTraitable
in interface InternalFactHandle
public boolean isTraiting()
isTraiting
in interface InternalFactHandle
public boolean isValid()
isValid
in interface InternalFactHandle
public void setEntryPoint(InternalWorkingMemoryEntryPoint ep)
setEntryPoint
in interface InternalFactHandle
public void setEqualityKey(EqualityKey key)
setEqualityKey
in interface InternalFactHandle
public void setFirstLeftTuple(LeftTuple leftTuple)
setFirstLeftTuple
in interface InternalFactHandle
public void setLastLeftTuple(LeftTuple leftTuple)
setLastLeftTuple
in interface InternalFactHandle
public void setObject(Object object)
setObject
in interface InternalFactHandle
public void setRecency(long recency)
setRecency
in interface InternalFactHandle
public void setRightTuple(RightTuple rightTuple)
public InternalFactHandle clone()
clone
in interface InternalFactHandle
clone
in class Object
public String toExternalForm()
toExternalForm
in interface InternalFactHandle
toExternalForm
in interface org.kie.api.runtime.rule.FactHandle
public String getExternalForm()
public LeftTuple getFirstLeftTuple()
getFirstLeftTuple
in interface InternalFactHandle
public RightTuple getFirstRightTuple()
getFirstRightTuple
in interface InternalFactHandle
public RightTuple getLastRightTuple()
getLastRightTuple
in interface InternalFactHandle
public String toTupleTree(int indent)
public boolean isDisconnected()
isDisconnected
in interface InternalFactHandle
public void disconnect()
disconnect
in interface InternalFactHandle
public void addFirstLeftTuple(LeftTuple leftTuple)
addFirstLeftTuple
in interface InternalFactHandle
public void addLastLeftTuple(LeftTuple leftTuple)
addLastLeftTuple
in interface InternalFactHandle
public void removeLeftTuple(LeftTuple leftTuple)
removeLeftTuple
in interface InternalFactHandle
public void clearLeftTuples()
clearLeftTuples
in interface InternalFactHandle
public void clearRightTuples()
clearRightTuples
in interface InternalFactHandle
public void addFirstRightTuple(RightTuple rightTuple)
addFirstRightTuple
in interface InternalFactHandle
public void addLastRightTuple(RightTuple rightTuple)
addLastRightTuple
in interface InternalFactHandle
public void addTupleInPosition(Tuple rightTuple)
addTupleInPosition
in interface InternalFactHandle
public void removeRightTuple(RightTuple rightTuple)
removeRightTuple
in interface InternalFactHandle
public String getEntryPointId()
public static DisconnectedFactHandle newFrom(org.kie.api.runtime.rule.FactHandle handle)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public TraitTypeEnum getTraitType()
getTraitType
in interface InternalFactHandle
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.