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

FlushEntityEvent

public class FlushEntityEvent extends AbstractEvent
author
Gavin King

Fields Summary
private Object
entity
private Object[]
propertyValues
private Object[]
databaseSnapshot
private int[]
dirtyProperties
private boolean
hasDirtyCollection
private boolean
dirtyCheckPossible
private boolean
dirtyCheckHandledByInterceptor
private org.hibernate.engine.EntityEntry
entityEntry
Constructors Summary
public FlushEntityEvent(EventSource source, Object entity, org.hibernate.engine.EntityEntry entry)

		super(source);
		this.entity = entity;
		this.entityEntry = entry;
	
Methods Summary
public java.lang.Object[]getDatabaseSnapshot()

		return databaseSnapshot;
	
public int[]getDirtyProperties()

		return dirtyProperties;
	
public java.lang.ObjectgetEntity()

		return entity;
	
public org.hibernate.engine.EntityEntrygetEntityEntry()

		return entityEntry;
	
public java.lang.Object[]getPropertyValues()

		return propertyValues;
	
public booleanhasDatabaseSnapshot()

		return databaseSnapshot!=null;
	
public booleanhasDirtyCollection()

		return hasDirtyCollection;
	
public booleanisDirtyCheckHandledByInterceptor()

		return dirtyCheckHandledByInterceptor;
	
public booleanisDirtyCheckPossible()

		return dirtyCheckPossible;
	
public voidsetDatabaseSnapshot(java.lang.Object[] databaseSnapshot)

		this.databaseSnapshot = databaseSnapshot;
	
public voidsetDirtyCheckHandledByInterceptor(boolean dirtyCheckHandledByInterceptor)

		this.dirtyCheckHandledByInterceptor = dirtyCheckHandledByInterceptor;
	
public voidsetDirtyCheckPossible(boolean dirtyCheckPossible)

		this.dirtyCheckPossible = dirtyCheckPossible;
	
public voidsetDirtyProperties(int[] dirtyProperties)

		this.dirtyProperties = dirtyProperties;
	
public voidsetHasDirtyCollection(boolean hasDirtyCollection)

		this.hasDirtyCollection = hasDirtyCollection;
	
public voidsetPropertyValues(java.lang.Object[] propertyValues)

		this.propertyValues = propertyValues;