initializecollectionevent.java
来自「hibernate-3.1.3-all-src.zip 面向对象的访问数据库工」· Java 代码 · 共 25 行
JAVA
25 行
//$Id: InitializeCollectionEvent.java 6929 2005-05-27 03:54:08Z oneovthafew $
package org.hibernate.event;
import org.hibernate.collection.PersistentCollection;
/**
* 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, EventSource source) {
super(source);
this.collection = collection;
}
public PersistentCollection getCollection() {
return collection;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?