org.hibernate.event
Class PersistEvent

java.lang.Object
  extended by org.hibernate.event.AbstractEvent
      extended by org.hibernate.event.PersistEvent
All Implemented Interfaces:
Serializable

public class PersistEvent
extends AbstractEvent

An event class for persist()

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
PersistEvent(Object object, EventSource source)
           
PersistEvent(String entityName, Object original, EventSource source)
           
 
Method Summary
 String getEntityName()
           
 Object getObject()
           
 void setEntityName(String entityName)
           
 void setObject(Object object)
           
 
Methods inherited from class org.hibernate.event.AbstractEvent
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistEvent

public PersistEvent(String entityName,
                    Object original,
                    EventSource source)

PersistEvent

public PersistEvent(Object object,
                    EventSource source)
Method Detail

getObject

public Object getObject()

setObject

public void setObject(Object object)

getEntityName

public String getEntityName()

setEntityName

public void setEntityName(String entityName)


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.