Interface WithId<E>
- All Superinterfaces:
RelationalEvent<E>
- All Known Implementing Classes:
AfterDeleteEvent
,BeforeDeleteEvent
,RelationalDeleteEvent
Interface for
RelationalEvent
s which have an Identifier
but might not have an entity.- Author:
- Jens Schauder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Events with an identifier will always return aIdentifier
one.Methods inherited from interface org.springframework.data.relational.core.mapping.event.RelationalEvent
getEntity, getType
-
Method Details
-
getId
Identifier getId()Events with an identifier will always return aIdentifier
one.
-