Spring Data Neo4j

org.springframework.data.neo4j.lifecycle
Class BeforeSaveEvent<T>

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.data.neo4j.lifecycle.BeforeSaveEvent<T>
All Implemented Interfaces:
Serializable

public class BeforeSaveEvent<T>
extends ApplicationEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BeforeSaveEvent(Object source, T entity)
           
 
Method Summary
 T getEntity()
           
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeforeSaveEvent

public BeforeSaveEvent(Object source,
                       T entity)
Parameters:
source - the component that published the event (never null)
entity - the entity that is about to be saved
Method Detail

getEntity

public T getEntity()

Spring Data Neo4j

Copyright © 2012 SpringSource. All Rights Reserved.