站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

ReplicateEvent (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.event
Class ReplicateEvent

java.lang.Object
  extended byorg.hibernate.event.AbstractEvent
      extended byorg.hibernate.event.ReplicateEvent
All Implemented Interfaces:
Serializable

public class ReplicateEvent
extends AbstractEvent

Defines an event class for the replication of an entity.

Author:
Steve Ebersole
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.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)