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

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


org.hibernate.event
Class MergeEvent

java.lang.Object
  extended byorg.hibernate.event.AbstractEvent
      extended byorg.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

Constructor Summary
MergeEvent(Object object, EventSource source)
           
MergeEvent(String entityName, Object original, EventSource source)
           
MergeEvent(String entityName, Object original, Serializable id, EventSource source)
           
 
Method Summary
 Object getEntity()
           
 String getEntityName()
           
 Object getOriginal()
           
 Serializable getRequestedId()
           
 Object getResult()
           
 void setEntity(Object entity)
           
 void setEntityName(String entityName)
           
 void setOriginal(Object object)
           
 void setRequestedId(Serializable requestedId)
           
 void setResult(Object result)
           
 
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

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)
Method Detail

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)