Top Description Fields Constructors Methods
org.hibernate.event

public Class SaveOrUpdateEvent

extends AbstractEvent
Class Inheritance
Imports
java.io.Serializable, org.hibernate.engine.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 Serializable
private Serializable

Constructor Summary

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

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

public

Method Summary

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

public void
setEntityName(String entityName)

public void
public void
setObject(Object object)

public void
public void
Inherited from org.hibernate.event.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 Serializable requestedId
resultIdback to summary
private Serializable resultId

Constructor Detail

SaveOrUpdateEventback to summary
public SaveOrUpdateEvent(String entityName, Object original, EventSource source)
SaveOrUpdateEventback to summary
public SaveOrUpdateEvent(String entityName, Object original, Serializable 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 Serializable getRequestedId()
getResultIdback to summary
public Serializable 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(Serializable requestedId)
setResultIdback to summary
public void setResultId(Serializable resultId)