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