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

PreInsertEvent

public class PreInsertEvent extends Object
Occurs before inserting an item in the datastore
author
Gavin King

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

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

		return entity;
	
public java.io.SerializablegetId()

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

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

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

		return state;