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 class PreLoadEvent extends AbstractEvent
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 Object
getEntity()
Object
getId()
EntityPersister
getPersister()
Object[]
getState()
void
reset()
PreLoadEvent
setEntity(Object entity)
PreLoadEvent
setId(Object id)
PreLoadEvent
setPersister(EntityPersister persister)
PreLoadEvent
setState(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)
-
-