org.drools.common
Class QueryElementFactHandle
java.lang.Object
org.drools.common.QueryElementFactHandle
- All Implemented Interfaces:
- Cloneable, InternalFactHandle, org.drools.runtime.rule.FactHandle
public class QueryElementFactHandle
- extends Object
- implements InternalFactHandle
QueryElementFactHandle
protected QueryElementFactHandle()
QueryElementFactHandle
public QueryElementFactHandle(Object object,
int id,
long recency)
QueryElementFactHandle
public QueryElementFactHandle(Object object,
int id,
int identityHashCode,
long recency)
getId
public int getId()
- Specified by:
getId in interface InternalFactHandle
getIdentityHashCode
public int getIdentityHashCode()
- Specified by:
getIdentityHashCode in interface InternalFactHandle
getObjectHashCode
public int getObjectHashCode()
- Specified by:
getObjectHashCode in interface InternalFactHandle
getRecency
public long getRecency()
- Specified by:
getRecency in interface InternalFactHandle
getLastLeftTuple
public LeftTuple getLastLeftTuple()
- Specified by:
getLastLeftTuple in interface InternalFactHandle
getObject
public Object getObject()
- Specified by:
getObject in interface InternalFactHandle
setObject
public void setObject(Object object)
- Specified by:
setObject in interface InternalFactHandle
getEntryPoint
public org.drools.runtime.rule.WorkingMemoryEntryPoint getEntryPoint()
- Specified by:
getEntryPoint in interface InternalFactHandle
getEqualityKey
public EqualityKey getEqualityKey()
- Specified by:
getEqualityKey in interface InternalFactHandle
getRightTuple
public RightTuple getRightTuple()
invalidate
public void invalidate()
- Specified by:
invalidate in interface InternalFactHandle
isEvent
public boolean isEvent()
- Description copied from interface:
InternalFactHandle
- Returns true if this FactHandle represents
and Event or false if this FactHandle represents
a regular Fact
- Specified by:
isEvent in interface InternalFactHandle
- Returns:
isValid
public boolean isValid()
- Specified by:
isValid in interface InternalFactHandle
setEntryPoint
public void setEntryPoint(org.drools.runtime.rule.WorkingMemoryEntryPoint ep)
- Specified by:
setEntryPoint in interface InternalFactHandle
setEqualityKey
public void setEqualityKey(EqualityKey key)
- Specified by:
setEqualityKey in interface InternalFactHandle
setFirstLeftTuple
public void setFirstLeftTuple(LeftTuple leftTuple)
- Specified by:
setFirstLeftTuple in interface InternalFactHandle
setRecency
public void setRecency(long recency)
- Specified by:
setRecency in interface InternalFactHandle
setRightTuple
public void setRightTuple(RightTuple rightTuple)
clone
public InternalFactHandle clone()
- Specified by:
clone in interface InternalFactHandle- Overrides:
clone in class Object
toExternalForm
public String toExternalForm()
- Specified by:
toExternalForm in interface InternalFactHandle- Specified by:
toExternalForm in interface org.drools.runtime.rule.FactHandle
getExternalForm
public String getExternalForm()
getFirstLeftTuple
public LeftTuple getFirstLeftTuple()
- Specified by:
getFirstLeftTuple in interface InternalFactHandle
getFirstRightTuple
public RightTuple getFirstRightTuple()
- Specified by:
getFirstRightTuple in interface InternalFactHandle
getLastRightTuple
public RightTuple getLastRightTuple()
- Specified by:
getLastRightTuple in interface InternalFactHandle
setFirstRightTuple
public void setFirstRightTuple(RightTuple rightTuple)
- Specified by:
setFirstRightTuple in interface InternalFactHandle
setLastLeftTuple
public void setLastLeftTuple(LeftTuple leftTuple)
- Specified by:
setLastLeftTuple in interface InternalFactHandle
setLastRightTuple
public void setLastRightTuple(RightTuple rightTuple)
- Specified by:
setLastRightTuple in interface InternalFactHandle
toTupleTree
public String toTupleTree(int indent)
- Specified by:
toTupleTree in interface InternalFactHandle
isDisconnected
public boolean isDisconnected()
- Specified by:
isDisconnected in interface InternalFactHandle
toString
public String toString()
- Overrides:
toString in class Object
disconnect
public void disconnect()
- Specified by:
disconnect in interface InternalFactHandle
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.