站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

PersistEvent (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.event
Class PersistEvent

java.lang.Object
  extended byorg.hibernate.event.AbstractEvent
      extended byorg.hibernate.event.PersistEvent
All Implemented Interfaces:
Serializable

public class PersistEvent
extends AbstractEvent

An event class for persist()

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
PersistEvent(Object object, EventSource source)
           
PersistEvent(String entityName, Object original, EventSource source)
           
 
Method Summary
 String getEntityName()
           
 Object getObject()
           
 void setEntityName(String entityName)
           
 void setObject(Object object)
           
 
Methods inherited from class org.hibernate.event.AbstractEvent
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistEvent

public PersistEvent(String entityName,
                    Object original,
                    EventSource source)

PersistEvent

public PersistEvent(Object object,
                    EventSource source)
Method Detail

getObject

public Object getObject()

setObject

public void setObject(Object object)

getEntityName

public String getEntityName()

setEntityName

public void setEntityName(String entityName)