当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
MergeEvent (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.event
Class MergeEvent
java.lang.Object
org.hibernate.event.AbstractEvent
org.hibernate.event.MergeEvent
- All Implemented Interfaces:
- Serializable
- public class MergeEvent
- extends AbstractEvent
An event class for merge() and saveOrUpdateCopy()
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergeEvent
public MergeEvent(String entityName,
Object original,
EventSource source)
MergeEvent
public MergeEvent(String entityName,
Object original,
Serializable id,
EventSource source)
MergeEvent
public MergeEvent(Object object,
EventSource source)
getOriginal
public Object getOriginal()
setOriginal
public void setOriginal(Object object)
getRequestedId
public Serializable getRequestedId()
setRequestedId
public void setRequestedId(Serializable requestedId)
getEntityName
public String getEntityName()
setEntityName
public void setEntityName(String entityName)
getEntity
public Object getEntity()
setEntity
public void setEntity(Object entity)
getResult
public Object getResult()
setResult
public void setResult(Object result)