org.hibernate.event
Class PreUpdateEvent

java.lang.Object
  extended by org.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()