类 EntityEntryExtraStateHolder
- java.lang.Object
-
- org.hibernate.engine.internal.EntityEntryExtraStateHolder
-
- 所有已实现的接口:
EntityEntryExtraState
public class EntityEntryExtraStateHolder extends Object implements EntityEntryExtraState
Contains optional state fromEntityEntry.- 作者:
- Emmanuel Bernard
-
-
构造器概要
构造器 构造器 说明 EntityEntryExtraStateHolder()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
-
-
-
方法详细资料
-
getDeletedState
public Object[] getDeletedState()
-
setDeletedState
public void setDeletedState(Object[] deletedState)
-
addExtraState
public void addExtraState(EntityEntryExtraState extraState)
从接口复制的说明:EntityEntryExtraStateAttach additional state to the core state ofEntityEntryImplementations must delegate to the next state or add it as next state if last in line.
- 指定者:
addExtraState在接口中EntityEntryExtraState
-
getExtraState
public <T extends EntityEntryExtraState> T getExtraState(Class<T> extraStateType)
从接口复制的说明: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.
- 指定者:
getExtraState在接口中EntityEntryExtraState
-
-