org.hibernate.engine
Class CollectionKey
java.lang.Object
org.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
CollectionKey
public CollectionKey(CollectionPersister persister,
Serializable key,
EntityMode em)
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
generateHashCode
public int generateHashCode()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getRole
public String getRole()
getKey
public Serializable getKey()
toString
public String toString()
- Overrides:
toString
in class Object