Package org.hibernate.event.spi
Class ReplicateEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.ReplicateEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ReplicateEvent extends AbstractEvent
Defines an event class for the replication of an entity.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicateEvent(java.lang.Object object, ReplicationMode replicationMode, EventSource source)ReplicateEvent(java.lang.String entityName, java.lang.Object object, ReplicationMode replicationMode, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEntityName()java.lang.ObjectgetObject()ReplicationModegetReplicationMode()voidsetEntityName(java.lang.String entityName)voidsetObject(java.lang.Object object)voidsetReplicationMode(ReplicationMode replicationMode)-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getSession
-
-
-
-
Constructor Detail
-
ReplicateEvent
public ReplicateEvent(java.lang.Object object, ReplicationMode replicationMode, EventSource source)
-
ReplicateEvent
public ReplicateEvent(java.lang.String entityName, java.lang.Object object, ReplicationMode replicationMode, EventSource source)
-
-
Method Detail
-
getObject
public java.lang.Object getObject()
-
setObject
public void setObject(java.lang.Object object)
-
getReplicationMode
public ReplicationMode getReplicationMode()
-
setReplicationMode
public void setReplicationMode(ReplicationMode replicationMode)
-
getEntityName
public java.lang.String getEntityName()
-
setEntityName
public void setEntityName(java.lang.String entityName)
-
-