com.netscape.certsrv.request
Class RequestId

java.lang.Object
  extended by com.netscape.certsrv.request.RequestId

public final class RequestId
extends java.lang.Object

The RequestId class represents the identifier for a particular request within a request queue. This identifier may be used to retrieve the request object itself from the request queue.

Version:
$Revision: 1211 $ $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Constructor Summary
RequestId(java.lang.String id)
          Creates a new RequestId from its string representation.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Implements Object.equals.
 int hashCode()
          Implements Object.hashCode.
 java.lang.String toString()
          Converts the RequestId into its string representation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestId

public RequestId(java.lang.String id)
Creates a new RequestId from its string representation.

Parameters:
id - a string containing the decimal (base 10) value for the identifier.
Method Detail

toString

public java.lang.String toString()
Converts the RequestId into its string representation. The string form can be stored in a database (such as the LDAP directory)

Overrides:
toString in class java.lang.Object
Returns:
a string containing the decimal (base 10) value for the identifier.

hashCode

public int hashCode()
Implements Object.hashCode.

Overrides:
hashCode in class java.lang.Object
Returns:
hash code of the object

equals

public boolean equals(java.lang.Object obj)
Implements Object.equals.

Overrides:
equals in class java.lang.Object
Parameters:
obj - object to compare
Returns:
true if objects are equal