org.sourceforge.jemm.database.components
Class ClientThreadIdRef

java.lang.Object
  extended by org.sourceforge.jemm.database.components.ClientThreadIdRef

public class ClientThreadIdRef
extends java.lang.Object

A class representing a client thread id and ID relationship.

Author:
Rory Graves

Constructor Summary
ClientThreadIdRef(ClientThreadId clientThread, ID id)
          Create a ClientThreadIdRef with the given thread and id.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ClientThreadId getClientThread()
          Returns the first value in the tuple
 ID getID()
          Returns the second value in the tuple
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientThreadIdRef

public ClientThreadIdRef(ClientThreadId clientThread,
                         ID id)
Create a ClientThreadIdRef with the given thread and id.

Parameters:
clientThread - The client thread id
id - The object id.
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getClientThread

public ClientThreadId getClientThread()
Returns the first value in the tuple

Returns:
the first value in the tuple

getID

public ID getID()
Returns the second value in the tuple

Returns:
the second value in the tuple


Copyright © 2009. All Rights Reserved.