Top Description Fields Constructors Methods
org.hibernate.event.spi

public Class PersistEvent

extends AbstractEvent
Class Inheritance

An event class for persist()
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private String
private Object

Constructor Summary

AccessConstructor and Description
public
PersistEvent(String entityName, Object original, EventSource source)

Deprecated as a consequence of EventSource being deprecated.
public
PersistEvent(Object object, EventSource source)

Deprecated as a consequence of EventSource being deprecated.

Method Summary

Modifier and TypeMethod and Description
public String
public Object
public void
setEntityName(String entityName)

public void
setObject(Object object)

Inherited from org.hibernate.event.spi.AbstractEvent:
getSession

Field Detail

entityNameback to summary
private String entityName
objectback to summary
private Object object

Constructor Detail

PersistEventback to summary
public PersistEvent(String entityName, Object original, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

PersistEventback to summary
public PersistEvent(Object object, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

Method Detail

getEntityNameback to summary
public String getEntityName()
getObjectback to summary
public Object getObject()
setEntityNameback to summary
public void setEntityName(String entityName)
setObjectback to summary
public void setObject(Object object)