javax.slee.facilities
Interface TimerID

All Superinterfaces:
java.io.Serializable

public interface TimerID
extends java.io.Serializable

A TimerID is used to identify a timer started by an SBB entity. An implementation of this class must be Java serializable to support persistence (in a potentially arbitrary data structure) by SBBs.


Method Summary
 boolean equals(java.lang.Object obj)
          Compare this timer ID for equality with another.
 int hashCode()
          Get a hash code value for this timer ID.
 java.lang.String toString()
          Get the textual representation of the timer ID object.
 

Method Detail

equals

boolean equals(java.lang.Object obj)
Compare this timer ID for equality with another.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to compare this with.
Returns:
true if obj is an instance of this class representing the same timer as this, false otherwise.

hashCode

int hashCode()
Get a hash code value for this timer ID.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value.

toString

java.lang.String toString()
Get the textual representation of the timer ID object.

Overrides:
toString in class java.lang.Object
Returns:
the textual representation of the timer ID object.


Copyright © 2008. All Rights Reserved.