collectionsnapshot.java

来自「人力资源管理系统主要包括:人员管理、招聘管理、培训管理、奖惩管理和薪金管理五大管」· Java 代码 · 共 23 行

JAVA
23
字号
//$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 + =
减小字号Ctrl + -
显示快捷键?