Package org.hibernate.event.spi
Class ReplicateEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.ReplicateEvent
-
- All Implemented Interfaces:
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(Object object, ReplicationMode replicationMode, EventSource source)
ReplicateEvent(String entityName, Object object, ReplicationMode replicationMode, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEntityName()
Object
getObject()
ReplicationMode
getReplicationMode()
void
setEntityName(String entityName)
void
setObject(Object object)
void
setReplicationMode(ReplicationMode replicationMode)
-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory, getSession
-
-
-
-
Constructor Detail
-
ReplicateEvent
public ReplicateEvent(Object object, ReplicationMode replicationMode, EventSource source)
-
ReplicateEvent
public ReplicateEvent(String entityName, Object object, ReplicationMode replicationMode, EventSource source)
-
-
Method Detail
-
getObject
public Object getObject()
-
setObject
public void setObject(Object object)
-
getReplicationMode
public ReplicationMode getReplicationMode()
-
setReplicationMode
public void setReplicationMode(ReplicationMode replicationMode)
-
getEntityName
public String getEntityName()
-
setEntityName
public void setEntityName(String entityName)
-
-