org.hibernate.event
Class PreLoadEvent
java.lang.Object
org.hibernate.event.AbstractEvent
org.hibernate.event.PreLoadEvent
- All Implemented Interfaces:
- Serializable
public class PreLoadEvent
- extends AbstractEvent
Called before injecting property values into a newly
loaded entity instance.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreLoadEvent
public PreLoadEvent(EventSource session)
getEntity
public Object getEntity()
getId
public Serializable getId()
getPersister
public EntityPersister getPersister()
getState
public Object[] getState()
setEntity
public PreLoadEvent setEntity(Object entity)
setId
public PreLoadEvent setId(Serializable id)
setPersister
public PreLoadEvent setPersister(EntityPersister persister)
setState
public PreLoadEvent setState(Object[] state)