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(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(Class<T> extraStateType)
Implementations must return self if they match or delegate discovery to the next state in line.
Copyright © 2016 JBoss by Red Hat. All rights reserved.