当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
Key (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.engine
Class Key
java.lang.Object
net.sf.hibernate.engine.Key
- All Implemented Interfaces:
- Serializable
- public final class Key
- extends Object
- implements Serializable
A globally unique identifier of an instance.
Consisting of the user-visible identifier and the identifier space (eg. tablename).
- Author:
- Gavin King
- See Also:
- Serialized Form
Key
public Key(Serializable id,
ClassPersister p)
- Construct a unique identifier for an entity class instance
getIdentifier
public Serializable getIdentifier()
- Get the user-visible identifier
getMappedClass
public Class getMappedClass()
isBatchLoadable
public boolean isBatchLoadable()
equals
public boolean equals(Object other)
hashCode
public int hashCode()
toString
public String toString()