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

PreUpdateEvent (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.event
Class PreUpdateEvent

java.lang.Object
  extended byorg.hibernate.event.PreUpdateEvent

public class PreUpdateEvent
extends Object

Occurs before updating the datastore

Author:
Gavin King

Constructor Summary
PreUpdateEvent(Object entity, Serializable id, Object[] state, Object[] oldState, EntityPersister persister, SessionImplementor source)
           
 
Method Summary
 Object getEntity()
           
 Serializable getId()
           
 Object[] getOldState()
           
 EntityPersister getPersister()
           
 SessionImplementor getSource()
           
 Object[] getState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreUpdateEvent

public PreUpdateEvent(Object entity,
                      Serializable id,
                      Object[] state,
                      Object[] oldState,
                      EntityPersister persister,
                      SessionImplementor source)
Method Detail

getEntity

public Object getEntity()

getId

public Serializable getId()

getOldState

public Object[] getOldState()

getPersister

public EntityPersister getPersister()

getState

public Object[] getState()

getSource

public SessionImplementor getSource()