Package org.hibernate.event.spi
Class MergeEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.MergeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class MergeEvent extends AbstractEvent
An event class for merge() and saveOrUpdateCopy()- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MergeEvent(java.lang.Object object, EventSource source)MergeEvent(java.lang.String entityName, java.lang.Object original, java.io.Serializable id, EventSource source)MergeEvent(java.lang.String entityName, java.lang.Object original, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetEntity()java.lang.StringgetEntityName()java.lang.ObjectgetOriginal()java.io.SerializablegetRequestedId()java.lang.ObjectgetResult()voidsetEntity(java.lang.Object entity)voidsetEntityName(java.lang.String entityName)voidsetOriginal(java.lang.Object object)voidsetRequestedId(java.io.Serializable requestedId)voidsetResult(java.lang.Object result)-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getSession
-
-
-
-
Constructor Detail
-
MergeEvent
public MergeEvent(java.lang.String entityName, java.lang.Object original, EventSource source)
-
MergeEvent
public MergeEvent(java.lang.String entityName, java.lang.Object original, java.io.Serializable id, EventSource source)
-
MergeEvent
public MergeEvent(java.lang.Object object, EventSource source)
-
-
Method Detail
-
getOriginal
public java.lang.Object getOriginal()
-
setOriginal
public void setOriginal(java.lang.Object object)
-
getRequestedId
public java.io.Serializable getRequestedId()
-
setRequestedId
public void setRequestedId(java.io.Serializable requestedId)
-
getEntityName
public java.lang.String getEntityName()
-
setEntityName
public void setEntityName(java.lang.String entityName)
-
getEntity
public java.lang.Object getEntity()
-
setEntity
public void setEntity(java.lang.Object entity)
-
getResult
public java.lang.Object getResult()
-
setResult
public void setResult(java.lang.Object result)
-
-