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

LockEvent

public class LockEvent extends AbstractEvent
Defines an event class for the locking of an entity.
author
Steve Ebersole

Fields Summary
private Object
object
private org.hibernate.LockMode
lockMode
private String
entityName
Constructors Summary
public LockEvent(String entityName, Object original, org.hibernate.LockMode lockMode, EventSource source)

		this(original, lockMode, source);
		this.entityName = entityName;
	
public LockEvent(Object object, org.hibernate.LockMode lockMode, EventSource source)

		super(source);
		this.object = object;
		this.lockMode = lockMode;
	
Methods Summary
public java.lang.StringgetEntityName()

		return entityName;
	
public org.hibernate.LockModegetLockMode()

		return lockMode;
	
public java.lang.ObjectgetObject()

		return object;
	
public voidsetEntityName(java.lang.String entityName)

		this.entityName = entityName;
	
public voidsetLockMode(org.hibernate.LockMode lockMode)

		this.lockMode = lockMode;
	
public voidsetObject(java.lang.Object object)

		this.object = object;