Top Description Fields Constructors Methods
org.hibernate.event

public Class LoadEvent

extends AbstractEvent
Class Inheritance
Imports
java.io.Serializable, org.hibernate.LockMode, .LockOptions

Defines an event class for the loading of an entity.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final LockMode
private String
private Serializable
private Object
private boolean
private LockOptions
private Object

Constructor Summary

AccessConstructor and Description
public
LoadEvent(Serializable entityId, Object instanceToLoad, EventSource source)

public
LoadEvent(Serializable entityId, String entityClassName, LockMode lockMode, EventSource source)

public
LoadEvent(Serializable entityId, String entityClassName, LockOptions lockOptions, EventSource source)

public
LoadEvent(Serializable entityId, String entityClassName, boolean isAssociationFetch, EventSource source)

private
LoadEvent(Serializable entityId, String entityClassName, Object instanceToLoad, LockMode lockMode, boolean isAssociationFetch, EventSource source)

private
LoadEvent(Serializable entityId, String entityClassName, Object instanceToLoad, LockOptions lockOptions, boolean isAssociationFetch, EventSource source)

Method Summary

Modifier and TypeMethod and Description
public String
public Serializable
public Object
public LockMode
public LockOptions
public boolean
public int
public Object
public boolean
public void
setEntityClassName(String entityClassName)

public void
public void
setInstanceToLoad(Object instanceToLoad)

public void
public void
setLockScope(boolean cascade)

public void
setLockTimeout(int timeout)

public void
setResult(Object result)

Inherited from org.hibernate.event.AbstractEvent:
getSession

Field Detail

DEFAULT_LOCK_MODEback to summary
public static final LockMode DEFAULT_LOCK_MODE
entityClassNameback to summary
private String entityClassName
entityIdback to summary
private Serializable entityId
instanceToLoadback to summary
private Object instanceToLoad
isAssociationFetchback to summary
private boolean isAssociationFetch
lockOptionsback to summary
private LockOptions lockOptions
resultback to summary
private Object result

Constructor Detail

LoadEventback to summary
public LoadEvent(Serializable entityId, Object instanceToLoad, EventSource source)
LoadEventback to summary
public LoadEvent(Serializable entityId, String entityClassName, LockMode lockMode, EventSource source)
LoadEventback to summary
public LoadEvent(Serializable entityId, String entityClassName, LockOptions lockOptions, EventSource source)
LoadEventback to summary
public LoadEvent(Serializable entityId, String entityClassName, boolean isAssociationFetch, EventSource source)
LoadEventback to summary
private LoadEvent(Serializable entityId, String entityClassName, Object instanceToLoad, LockMode lockMode, boolean isAssociationFetch, EventSource source)
LoadEventback to summary
private LoadEvent(Serializable entityId, String entityClassName, Object instanceToLoad, LockOptions lockOptions, boolean isAssociationFetch, EventSource source)

Method Detail

getEntityClassNameback to summary
public String getEntityClassName()
getEntityIdback to summary
public Serializable getEntityId()
getInstanceToLoadback to summary
public Object getInstanceToLoad()
getLockModeback to summary
public LockMode getLockMode()
getLockOptionsback to summary
public LockOptions getLockOptions()
getLockScopeback to summary
public boolean getLockScope()
getLockTimeoutback to summary
public int getLockTimeout()
getResultback to summary
public Object getResult()
isAssociationFetchback to summary
public boolean isAssociationFetch()
setEntityClassNameback to summary
public void setEntityClassName(String entityClassName)
setEntityIdback to summary
public void setEntityId(Serializable entityId)
setInstanceToLoadback to summary
public void setInstanceToLoad(Object instanceToLoad)
setLockModeback to summary
public void setLockMode(LockMode lockMode)
setLockScopeback to summary
public void setLockScope(boolean cascade)
setLockTimeoutback to summary
public void setLockTimeout(int timeout)
setResultback to summary
public void setResult(Object result)