Spring Data Commons

org.springframework.data.mapping.event
Class MappingContextEvent<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>>

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.data.mapping.event.MappingContextEvent<E,P>
All Implemented Interfaces:
Serializable

public class MappingContextEvent<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>>
extends ApplicationEvent

Author:
Jon Brisbin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MappingContextEvent(E source, TypeInformation<?> typeInformation)
           
 
Method Summary
 E getPersistentEntity()
           
 TypeInformation<?> getTypeInformation()
           
 
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

MappingContextEvent

public MappingContextEvent(E source,
                           TypeInformation<?> typeInformation)
Method Detail

getTypeInformation

public TypeInformation<?> getTypeInformation()

getPersistentEntity

public E getPersistentEntity()

Spring Data Commons

Copyright © 2011. All Rights Reserved.