Package org.hibernate.engine.internal
Class EntityEntryExtraStateHolder
- java.lang.Object
-
- org.hibernate.engine.internal.EntityEntryExtraStateHolder
-
- All Implemented Interfaces:
EntityEntryExtraState
public class EntityEntryExtraStateHolder extends Object implements EntityEntryExtraState
Contains optional state fromEntityEntry.
-
-
Constructor Summary
Constructors Constructor Description EntityEntryExtraStateHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtraState(EntityEntryExtraState extraState)Attach additional state to the core state ofEntityEntryObject[]getDeletedState()<T extends EntityEntryExtraState>
TgetExtraState(Class<T> extraStateType)Retrieve additional state by class type or null if no extra state of that type is present.voidsetDeletedState(Object[] deletedState)
-
-
-
Method Detail
-
getDeletedState
public Object[] getDeletedState()
-
setDeletedState
public void setDeletedState(Object[] deletedState)
-
addExtraState
public void addExtraState(EntityEntryExtraState extraState)
Description copied from interface:EntityEntryExtraStateAttach additional state to the core state ofEntityEntryImplementations must delegate to the next state or add it as next state if last in line.
- Specified by:
addExtraStatein interfaceEntityEntryExtraState
-
getExtraState
public <T extends EntityEntryExtraState> T getExtraState(Class<T> extraStateType)
Description copied from interface:EntityEntryExtraStateRetrieve 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:
getExtraStatein interfaceEntityEntryExtraState
-
-