Interface EntityEntryExtraState

All Known Implementing Classes:
EntityEntryExtraStateHolder

public interface EntityEntryExtraState
Navigation methods for extra state objects attached to EntityEntry.
  • Method Details

    • addExtraState

      void addExtraState(EntityEntryExtraState extraState)
      Attach additional state to the core state of EntityEntry

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

    • getExtraState

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