Top Description Fields Constructors Methods
org.hibernate.engine.internal

public Class EntityEntryExtraStateHolder

extends Object
implements EntityEntryExtraState
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.spi.EntityEntryExtraState
Imports
org.hibernate.engine.spi.EntityEntryExtraState

Contains optional state from org.hibernate.engine.spi.EntityEntry.
Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private Object[]
private EntityEntryExtraState

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addExtraState(EntityEntryExtraState extraState)

Implements org.hibernate.engine.spi.EntityEntryExtraState.addExtraState.

Attach additional state to the core state of org.hibernate.engine.spi.EntityEntry

Implementations must delegate to the next state or add it as next state if last in line.

public Object[]
public <T extends EntityEntryExtraState> T
getExtraState(Class<T> extraStateType)

Implements org.hibernate.engine.spi.EntityEntryExtraState.getExtraState.

Retrieve additional state by class type or null if no extra state of that type is present.
public void
setDeletedState(Object[] deletedState)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

deletedStateback to summary
private Object[] deletedState
nextback to summary
private EntityEntryExtraState next

Constructor Detail

EntityEntryExtraStateHolderback to summary
public EntityEntryExtraStateHolder()

Method Detail

addExtraStateback to summary
public void addExtraState(EntityEntryExtraState extraState)

Implements org.hibernate.engine.spi.EntityEntryExtraState.addExtraState.

Doc from org.hibernate.engine.spi.EntityEntryExtraState.addExtraState.

Attach additional state to the core state of org.hibernate.engine.spi.EntityEntry

Implementations must delegate to the next state or add it as next state if last in line.

Annotations
@Override
getDeletedStateback to summary
public Object[] getDeletedState()
getExtraStateback to summary
public <T extends EntityEntryExtraState> T getExtraState(Class<T> extraStateType)

Implements org.hibernate.engine.spi.EntityEntryExtraState.getExtraState.

Doc from org.hibernate.engine.spi.EntityEntryExtraState.getExtraState.

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.

Annotations
@Override
setDeletedStateback to summary
public void setDeletedState(Object[] deletedState)