站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

CollectionKey (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


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 generateHashCode()
           
 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)

generateHashCode

public int generateHashCode()

hashCode

public int hashCode()

getRole

public String getRole()

getKey

public Serializable getKey()

toString

public String toString()