org.hibernate.event.spi
Class ReplicateEvent

java.lang.Object
  extended by org.hibernate.event.spi.AbstractEvent
      extended by 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
ReplicateEvent(Object object, ReplicationMode replicationMode, EventSource source)
           
ReplicateEvent(String entityName, Object object, ReplicationMode replicationMode, EventSource source)
           
 
Method Summary
 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
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.