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

RefreshEvent

public class RefreshEvent extends AbstractEvent
Defines an event class for the refreshing of an object.
author
Steve Ebersole

Fields Summary
private Object
object
private org.hibernate.LockMode
lockMode
Constructors Summary
public RefreshEvent(Object object, EventSource source)


	     
		super(source);
		if (object == null) {
			throw new IllegalArgumentException("Attempt to generate refresh event with null object");
		}
		this.object = object;
	
public RefreshEvent(Object object, org.hibernate.LockMode lockMode, EventSource source)

		this(object, source);
		if (lockMode == null) {
			throw new IllegalArgumentException("Attempt to generate refresh event with null lock mode");
		}
		this.lockMode = lockMode;
	
Methods Summary
public org.hibernate.LockModegetLockMode()

		return lockMode;
	
public java.lang.ObjectgetObject()

		return object;