public interface EntityEntryExtraState
EntityEntry
.Modifier and Type | Method and Description |
---|---|
void |
addExtraState(EntityEntryExtraState extraState)
Attach additional state to the core state of
EntityEntry |
<T extends EntityEntryExtraState> |
getExtraState(java.lang.Class<T> extraStateType)
Retrieve additional state by class type or null if no extra state of that type is present.
|
void addExtraState(EntityEntryExtraState extraState)
EntityEntry
Implementations must delegate to the next state or add it as next state if last in line.
<T extends EntityEntryExtraState> T getExtraState(java.lang.Class<T> extraStateType)
Implementations must return self if they match or delegate discovery to the next state in line.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.