Top Description Methods
org.hibernate.engine.spi

public Interface EntityEntryExtraState

Known Direct Implementers
org.hibernate.engine.internal.EntityEntryExtraStateHolder

Navigation methods for extra state objects attached to org.hibernate.engine.spi.EntityEntry.
Author
Emmanuel Bernard

Method Summary

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

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 <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.

Method Detail

addExtraStateback to summary
public void addExtraState(EntityEntryExtraState extraState)

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.

getExtraStateback to summary
public <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.