1 package org.hibernate.event; 3 4 import java.io.Serializable ; 5 6 import org.hibernate.persister.entity.EntityPersister; 7 8 13 public class PostLoadEvent extends AbstractEvent { 14 private Object entity; 15 private Serializable id; 16 private EntityPersister persister; 17 18 public PostLoadEvent(EventSource session) { 19 super(session); 20 } 21 22 public Object getEntity() { 23 return entity; 24 } 25 26 public EntityPersister getPersister() { 27 return persister; 28 } 29 30 public Serializable getId() { 31 return id; 32 } 33 34 public PostLoadEvent setEntity(Object entity) { 35 this.entity = entity; 36 return this; 37 } 38 39 public PostLoadEvent setId(Serializable id) { 40 this.id = id; 41 return this; 42 } 43 44 public PostLoadEvent setPersister(EntityPersister persister) { 45 this.persister = persister; 46 return this; 47 } 48 49 } 50 | Popular Tags |