当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
CollectionSnapshot (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.engine
Interface CollectionSnapshot
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- SessionImpl.CollectionEntry
- public interface CollectionSnapshot
- extends Serializable
A "snapshot" of collection state. A PersistentCollection
carries a snapshot of its state even when serialized and transported
to another process. This allows us to track exactly which rows changed
if the entity is passed to update().
- Author:
- Gavin King
getKey
public Serializable getKey()
getRole
public String getRole()
getSnapshot
public Serializable getSnapshot()
getDirty
public boolean getDirty()
setDirty
public void setDirty()
wasDereferenced
public boolean wasDereferenced()