org.hibernate.engine
Class CollectionKey

java.lang.Object
  extended byorg.hibernate.engine.CollectionKey
All Implemented Interfaces:
Serializable

public final class CollectionKey
extends Object
implements Serializable

Uniquely identifies a collection instance in a particular session.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
CollectionKey(CollectionPersister persister, Serializable key, EntityMode em)
           
 
Method Summary
 boolean equals(Object other)
           
 int getHashCode()
           
 Serializable getKey()
           
 String getRole()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionKey

public CollectionKey(CollectionPersister persister,
                     Serializable key,
                     EntityMode em)
Method Detail

equals

public boolean equals(Object other)

getHashCode

public int getHashCode()

hashCode

public int hashCode()

getRole

public String getRole()

getKey

public Serializable getKey()

toString

public String toString()