initializecollectionevent.java

来自「hibernate-3.0.5 中文文档」· Java 代码 · 共 26 行

JAVA
26
字号
//$Id: InitializeCollectionEvent.java,v 1.5 2005/02/22 03:09:31 oneovthafew Exp $
package org.hibernate.event;

import org.hibernate.collection.PersistentCollection;
import org.hibernate.engine.SessionImplementor;

/**
 * An event that occurs when a collection wants to be
 * initialized
 * 
 * @author Gavin King
 */
public class InitializeCollectionEvent extends AbstractEvent {
	
	private final PersistentCollection collection;

	public InitializeCollectionEvent(PersistentCollection collection, SessionImplementor source) {
		super(source);
		this.collection = collection;
	}
	
	public PersistentCollection getCollection() {
		return collection;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?