Package org.hibernate.event.spi
Class MergeEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.MergeEvent
-
- All Implemented Interfaces:
Serializable
public class MergeEvent extends AbstractEvent
An event class for merge() and saveOrUpdateCopy()- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MergeEvent(Object object, EventSource source)
MergeEvent(String entityName, Object original, Object id, EventSource source)
MergeEvent(String entityName, Object original, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getEntity()
String
getEntityName()
Object
getOriginal()
Object
getRequestedId()
Object
getResult()
void
setEntity(Object entity)
void
setEntityName(String entityName)
void
setOriginal(Object object)
void
setRequestedId(Object requestedId)
void
setResult(Object result)
-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory, getSession
-
-
-
-
Constructor Detail
-
MergeEvent
public MergeEvent(String entityName, Object original, EventSource source)
-
MergeEvent
public MergeEvent(String entityName, Object original, Object id, EventSource source)
-
MergeEvent
public MergeEvent(Object object, EventSource source)
-
-
Method Detail
-
getOriginal
public Object getOriginal()
-
setOriginal
public void setOriginal(Object object)
-
getRequestedId
public Object getRequestedId()
-
setRequestedId
public void setRequestedId(Object 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)
-
-