📄 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();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -