org.drools.reteoo
Class FactHandleImpl

java.lang.Object
  extended byorg.drools.reteoo.FactHandleImpl
All Implemented Interfaces:
FactHandle, java.io.Serializable
Direct Known Subclasses:
Jsr94FactHandle

public class FactHandleImpl
extends java.lang.Object
implements FactHandle

Implementation of FactHandle.

See Also:
Serialized Form
 

Constructor Summary
protected FactHandleImpl(long id)
           
protected FactHandleImpl(long id, long recency)
          Construct.
 
Method Summary
 boolean equals(java.lang.Object object)
           
 long getId()
           
 long getRecency()
           
 int hashCode()
           
 java.lang.String toExternalForm()
          Convert this handle to an external representation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactHandleImpl

protected FactHandleImpl(long id)

FactHandleImpl

protected FactHandleImpl(long id,
                         long recency)
Construct.

Parameters:
id - Handle id.
Method Detail

equals

public boolean equals(java.lang.Object object)
See Also:
Object

hashCode

public int hashCode()
See Also:
Object

toExternalForm

public java.lang.String toExternalForm()
Description copied from interface: FactHandle
Convert this handle to an external representation.

Specified by:
toExternalForm in interface FactHandle
Returns:
The external string form.
See Also:
FactHandle

toString

public java.lang.String toString()
See Also:
Object

getRecency

public long getRecency()

getId

public long getId()