Interface WithEntity<E>
- All Superinterfaces:
RelationalEvent<E>
- All Known Implementing Classes:
AfterConvertEvent
,AfterSaveEvent
,BeforeConvertEvent
,BeforeSaveEvent
,RelationalEventWithEntity
,RelationalSaveEvent
Interface for events which are guaranteed to have an entity.
- Author:
- Jens Schauder
-
Method Summary
Methods inherited from interface org.springframework.data.relational.core.mapping.event.RelationalEvent
getType
-
Method Details
-
getEntity
Overridden in order to change nullability.- Specified by:
getEntity
in interfaceRelationalEvent<E>
- Returns:
- will never be null.
-