FileDocCategorySizeDatePackage
PreUpdateEvent.javaAPI DocHibernate 3.2.51151Thu Aug 11 14:37:08 BST 2005org.hibernate.event

PreUpdateEvent

public class PreUpdateEvent extends Object
Occurs before updating the datastore
author
Gavin King

Fields Summary
private Object
entity
private org.hibernate.persister.entity.EntityPersister
persister
private Object[]
state
private Object[]
oldState
private Serializable
id
private org.hibernate.engine.SessionImplementor
source
Constructors Summary
public PreUpdateEvent(Object entity, Serializable id, Object[] state, Object[] oldState, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.engine.SessionImplementor source)

		this.source = source;
		this.entity = entity;
		this.id = id;
		this.state = state;
		this.oldState = oldState;
		this.persister = persister;
	
Methods Summary
public java.lang.ObjectgetEntity()

		return entity;
	
public java.io.SerializablegetId()

		return id;
	
public java.lang.Object[]getOldState()

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

		return persister;
	
public org.hibernate.engine.SessionImplementorgetSource()

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

		return state;