Package org.hibernate.event.spi
Class PreLoadEvent
- java.lang.Object
- org.hibernate.event.spi.AbstractEvent
- org.hibernate.event.spi.PreLoadEvent
- All Implemented Interfaces:
Serializable
public classPreLoadEventextendsAbstractEvent
Called before injecting property values into a newly loaded entity instance.- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description PreLoadEvent(EventSource session)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetEntity()ObjectgetId()EntityPersistergetPersister()Object[]getState()voidreset()PreLoadEventsetEntity(Object entity)PreLoadEventsetId(Object id)PreLoadEventsetPersister(EntityPersister persister)PreLoadEventsetState(Object[] state)Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory,getSession
Constructor Detail
PreLoadEvent
public PreLoadEvent(EventSource session)
Method Detail
reset
public void reset()
getEntity
public Object getEntity()
getId
public Object getId()
getPersister
public EntityPersister getPersister()
getState
public Object[] getState()
setEntity
public PreLoadEvent setEntity(Object entity)
setId
public PreLoadEvent setId(Object id)
setPersister
public PreLoadEvent setPersister(EntityPersister persister)
setState
public PreLoadEvent setState(Object[] state)