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

public Class SaveOrUpdateEvent

extends AbstractEvent
Class Inheritance
Imports
org.hibernate.engine.spi.EntityEntry

An event class for saveOrUpdate()
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Object
private String
private EntityEntry
private Object
private Object
private Object

Constructor Summary

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

public
SaveOrUpdateEvent(String entityName, Object original, Object id, EventSource source)

public

Method Summary

Modifier and TypeMethod and Description
public Object
public String
public EntityEntry
public Object
public Object
public Object
public void
setEntity(Object entity)

public void
setEntityName(String entityName)

public void
public void
setObject(Object object)

public void
setRequestedId(Object requestedId)

public void
setResultId(Object resultId)

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

Field Detail

entityback to summary
private Object entity
entityNameback to summary
private String entityName
entryback to summary
private EntityEntry entry
objectback to summary
private Object object
requestedIdback to summary
private Object requestedId
resultIdback to summary
private Object resultId

Constructor Detail

SaveOrUpdateEventback to summary
public SaveOrUpdateEvent(String entityName, Object original, EventSource source)
SaveOrUpdateEventback to summary
public SaveOrUpdateEvent(String entityName, Object original, Object id, EventSource source)
SaveOrUpdateEventback to summary
public SaveOrUpdateEvent(Object object, EventSource source)

Method Detail

getEntityback to summary
public Object getEntity()
getEntityNameback to summary
public String getEntityName()
getEntryback to summary
public EntityEntry getEntry()
getObjectback to summary
public Object getObject()
getRequestedIdback to summary
public Object getRequestedId()
getResultIdback to summary
public Object getResultId()
setEntityback to summary
public void setEntity(Object entity)
setEntityNameback to summary
public void setEntityName(String entityName)
setEntryback to summary
public void setEntry(EntityEntry entry)
setObjectback to summary
public void setObject(Object object)
setRequestedIdback to summary
public void setRequestedId(Object requestedId)
setResultIdback to summary
public void setResultId(Object resultId)