org.hibernate.engine

Class CollectionKey

Implemented Interfaces:
Serializable

public final class CollectionKey
extends java.lang.Object
implements Serializable

Uniquely identifies a collection instance in a particular session.
Author:
Gavin King

Constructor Summary

CollectionKey(CollectionPersister persister, Serializable key, EntityMode em)

Method Summary

boolean
equals(Object other)
int
generateHashCode()
Serializable
getKey()
String
getRole()
int
hashCode()
String
toString()

Constructor Details

CollectionKey

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

Method Details

equals

public boolean equals(Object other)

generateHashCode

public int generateHashCode()

getKey

public Serializable getKey()

getRole

public String getRole()

hashCode

public int hashCode()

toString

public String toString()