Package org.hibernate.engine.spi
Interface EntityEntryExtraState
- All Known Implementing Classes:
EntityEntryExtraStateHolder
public interface EntityEntryExtraState
Navigation methods for extra state objects attached to
EntityEntry
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtraState
(EntityEntryExtraState extraState) Attach additional state to the core state ofEntityEntry
<T extends EntityEntryExtraState>
TgetExtraState
(Class<T> extraStateType) Retrieve additional state by class type or null if no extra state of that type is present.
-
Method Details
-
addExtraState
Attach additional state to the core state ofEntityEntry
Implementations must delegate to the next state or add it as next state if last in line.
-
getExtraState
Retrieve additional state by class type or null if no extra state of that type is present.Implementations must return self if they match or delegate discovery to the next state in line.
-