Package org.hibernate.engine.internal
Class EntityEntryExtraStateHolder
java.lang.Object
org.hibernate.engine.internal.EntityEntryExtraStateHolder
- All Implemented Interfaces:
EntityEntryExtraState
Contains optional state from
EntityEntry
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtraState
(EntityEntryExtraState extraState) Attach additional state to the core state ofEntityEntry
Object[]
<T extends EntityEntryExtraState>
TgetExtraState
(Class<T> extraStateType) Retrieve additional state by class type or null if no extra state of that type is present.void
setDeletedState
(Object[] deletedState)
-
Constructor Details
-
EntityEntryExtraStateHolder
public EntityEntryExtraStateHolder()
-
-
Method Details
-
getDeletedState
-
setDeletedState
-
addExtraState
Description copied from interface:EntityEntryExtraState
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.
- Specified by:
addExtraState
in interfaceEntityEntryExtraState
-
getExtraState
Description copied from interface:EntityEntryExtraState
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.
- Specified by:
getExtraState
in interfaceEntityEntryExtraState
-