Package org.hibernate.event.spi
Class RefreshEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.RefreshEvent
-
- All Implemented Interfaces:
Serializable
public class RefreshEvent extends AbstractEvent
Defines an event class for the refreshing of an object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RefreshEvent(Object object, EventSource source)
RefreshEvent(Object object, LockMode lockMode, EventSource source)
RefreshEvent(Object object, LockOptions lockOptions, EventSource source)
RefreshEvent(String entityName, Object object, EventSource source)
RefreshEvent(String entityName, Object object, LockOptions lockOptions, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEntityName()
LockMode
getLockMode()
LockOptions
getLockOptions()
boolean
getLockScope()
int
getLockTimeout()
Object
getObject()
void
setEntityName(String entityName)
-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory, getSession
-
-
-
-
Constructor Detail
-
RefreshEvent
public RefreshEvent(Object object, EventSource source)
-
RefreshEvent
public RefreshEvent(String entityName, Object object, EventSource source)
-
RefreshEvent
public RefreshEvent(Object object, LockMode lockMode, EventSource source)
-
RefreshEvent
public RefreshEvent(Object object, LockOptions lockOptions, EventSource source)
-
RefreshEvent
public RefreshEvent(String entityName, Object object, LockOptions lockOptions, EventSource source)
-
-
Method Detail
-
getObject
public Object getObject()
-
getLockOptions
public LockOptions getLockOptions()
-
getLockMode
public LockMode getLockMode()
-
getEntityName
public String getEntityName()
-
setEntityName
public void setEntityName(String entityName)
-
getLockTimeout
public int getLockTimeout()
-
getLockScope
public boolean getLockScope()
-
-