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
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)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.