Package org.hibernate.engine.spi
Interface EntityEntryExtraState
-
- All Known Implementing Classes:
EntityEntryExtraStateHolder
public interface EntityEntryExtraState
Navigation methods for extra state objects attached toEntityEntry
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
addExtraState
void addExtraState(EntityEntryExtraState extraState)
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
<T extends EntityEntryExtraState> T getExtraState(Class<T> extraStateType)
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.
-
-