1 package org.hibernate.event; 3 4 import java.io.Serializable ; 5 6 import org.hibernate.persister.entity.EntityPersister; 7 8 13 public class PostInsertEvent { 14 private Object entity; 15 private EntityPersister persister; 16 private Object [] state; 17 private Serializable id; 18 19 public PostInsertEvent( 20 Object entity, 21 Serializable id, 22 Object [] state, 23 EntityPersister persister 24 ) { 25 this.entity = entity; 26 this.id = id; 27 this.state = state; 28 this.persister = persister; 29 } 30 31 public Object getEntity() { 32 return entity; 33 } 34 public Serializable getId() { 35 return id; 36 } 37 public EntityPersister getPersister() { 38 return persister; 39 } 40 public Object [] getState() { 41 return state; 42 } 43 } 44 | Popular Tags |