org.drools.jsr94.rules
Class HandleImpl

java.lang.Object
  |
  +--org.drools.jsr94.rules.HandleImpl
All Implemented Interfaces:
javax.rules.Handle, java.io.Serializable

public class HandleImpl
extends java.lang.Object
implements javax.rules.Handle, java.io.Serializable

Implements the marker interface for vendor specific object identity mechanism. When using the StatefulRuleSession objects that are added to working memory are identified using a vendor supplied Handle implementation.

Author:
thomas diesler
See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the two handles are equal.
 int hashCode()
          The hash code of a handle.
 java.lang.String toString()
          Gets the string representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object obj)
Returns true if the two handles are equal.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
The hash code of a handle.
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Gets the string representation of this object.
Overrides:
toString in class java.lang.Object


Copyright © 2001-2003 The Werken Company. All Rights Reserved.