com.ibm.commerce.collaboration.cc.objects
Class QueueKey

java.lang.Object
  |
  +--com.ibm.commerce.collaboration.cc.objects.QueueKey
All Implemented Interfaces:
java.io.Serializable

public class QueueKey
extends java.lang.Object
implements java.io.Serializable

Key class for Entity Bean: Queue

See Also:
Serialized Form

Field Summary
 java.lang.Integer Queue_id
          Implemetation field for persistent attribute: Queue_id
 
Constructor Summary
QueueKey()
          Creates an empty key for Entity Bean: Queue
QueueKey(java.lang.Integer Queue_id)
          Creates a key for Entity Bean: Queue
 
Method Summary
 boolean equals(java.lang.Object otherKey)
          Returns true if both keys are equal.
 int hashCode()
          Returns the hash code for the key.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Queue_id

public java.lang.Integer Queue_id
Implemetation field for persistent attribute: Queue_id
Constructor Detail

QueueKey

public QueueKey()
Creates an empty key for Entity Bean: Queue

QueueKey

public QueueKey(java.lang.Integer Queue_id)
Creates a key for Entity Bean: Queue
Parameters:
Queue_id - Queue Id
Method Detail

equals

public boolean equals(java.lang.Object otherKey)
Returns true if both keys are equal.
Overrides:
equals in class java.lang.Object
Returns:
true when the two key objects are equal

hashCode

public int hashCode()
Returns the hash code for the key.
Overrides:
hashCode in class java.lang.Object
Returns:
hash code of the key object