FileDocCategorySizeDatePackage
PreLoadEvent.javaAPI DocHibernate 3.2.51121Thu May 26 22:54:08 BST 2005org.hibernate.event

PreLoadEvent

public class PreLoadEvent extends AbstractEvent
Called before injecting property values into a newly loaded entity instance.
author
Gavin King

Fields Summary
private Object
entity
private Object[]
state
private Serializable
id
private org.hibernate.persister.entity.EntityPersister
persister
Constructors Summary
public PreLoadEvent(EventSource session)

		super(session);
	
Methods Summary
public java.lang.ObjectgetEntity()

		return entity;
	
public java.io.SerializablegetId()

		return id;
	
public org.hibernate.persister.entity.EntityPersistergetPersister()

		return persister;
	
public java.lang.Object[]getState()

		return state;
	
public org.hibernate.event.PreLoadEventsetEntity(java.lang.Object entity)

		this.entity = entity;
		return this;
	
public org.hibernate.event.PreLoadEventsetId(java.io.Serializable id)

		this.id = id;
		return this;
	
public org.hibernate.event.PreLoadEventsetPersister(org.hibernate.persister.entity.EntityPersister persister)

		this.persister = persister;
		return this;
	
public org.hibernate.event.PreLoadEventsetState(java.lang.Object[] state)

		this.state = state;
		return this;