org.hibernate.engine
Class CollectionKey
java.lang.Object
org.hibernate.engine.CollectionKey
- All Implemented Interfaces:
- java.io.Serializable
public final class CollectionKey
- extends java.lang.Object
- implements java.io.Serializable
Uniquely identifies a collection instance in a particular session.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CollectionKey
public CollectionKey(CollectionPersister persister,
java.io.Serializable key,
EntityMode em)
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
generateHashCode
public int generateHashCode()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getRole
public java.lang.String getRole()
getKey
public java.io.Serializable getKey()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008 Hibernate.org. All Rights Reserved.