org.hibernate.event
Class PreInsertEvent

java.lang.Object
  extended by org.hibernate.event.PreInsertEvent

public class PreInsertEvent
extends Object

Occurs before inserting an item in the datastore

Author:
Gavin King

Constructor Summary
PreInsertEvent(Object entity, Serializable id, Object[] state, EntityPersister persister, SessionImplementor source)
           
 
Method Summary
 Object getEntity()
           
 Serializable getId()
           
 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

PreInsertEvent

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

getEntity

public Object getEntity()

getId

public Serializable getId()

getPersister

public EntityPersister getPersister()

getState

public Object[] getState()

getSource

public SessionImplementor getSource()