【Java开源代码栏目提醒】:网学会员--在 Java开源代码编辑为广大网友搜集整理了:CollectionSnapshot.java绩等信息,祝愿广大网友取得需要的信息,参考学习。
//$Id: CollectionSnapshot.java,v 1.4.2.1 2003/11/02 13:54:26 oneovthafew Exp $
package net.sf.hibernate.engine;
import java.io.Serializable;
/**
* A "snapshot" of collection state. A <tt>PersistentCollection</tt>
* 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 <tt>update()</tt>.
*
* @author Gavin King
*/
public interface CollectionSnapshot extends Serializable {
public Serializable getKey();
public String getRole();
public Serializable getSnapshot();
public boolean getDirty();
public void setDirty();
public boolean wasDereferenced();
//public boolean isInitialized();
}