org.hibernate.event
Class PostInsertEvent

java.lang.Object
  extended by org.hibernate.event.AbstractEvent
      extended by org.hibernate.event.PostInsertEvent
All Implemented Interfaces:
Serializable

public class PostInsertEvent
extends AbstractEvent

Occurs after inserting an item in the datastore

Author:
Gavin King
See Also:
Serialized Form

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

PostInsertEvent

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

getEntity

public Object getEntity()

getId

public Serializable getId()

getPersister

public EntityPersister getPersister()

getState

public Object[] getState()


Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved