Package org.hibernate.engine.spi
Interface EntityEntryExtraState
-
public interface EntityEntryExtraStateNavigation methods for extra state objects attached toEntityEntry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExtraState(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 ofEntityEntryImplementations 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.
-
-