站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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

Method Summary
 boolean getDirty()
           
 Serializable getKey()
           
 String getRole()
           
 Serializable getSnapshot()
           
 void setDirty()
           
 boolean wasDereferenced()
           
 

Method Detail

getKey

public Serializable getKey()

getRole

public String getRole()

getSnapshot

public Serializable getSnapshot()

getDirty

public boolean getDirty()

setDirty

public void setDirty()

wasDereferenced

public boolean wasDereferenced()