public class EntityEntryExtraStateHolder extends Object implements EntityEntryExtraState
EntityEntry
.Constructor and Description |
---|
EntityEntryExtraStateHolder() |
Modifier and Type | Method and Description |
---|---|
void |
addExtraState(EntityEntryExtraState extraState)
Attach additional state to the core state of
EntityEntry |
Object[] |
getDeletedState() |
<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 |
setDeletedState(Object[] deletedState) |
public Object[] getDeletedState()
public void setDeletedState(Object[] deletedState)
public void addExtraState(EntityEntryExtraState extraState)
EntityEntryExtraState
EntityEntry
Implementations must delegate to the next state or add it as next state if last in line.
addExtraState
in interface EntityEntryExtraState
public <T extends EntityEntryExtraState> T getExtraState(Class<T> extraStateType)
EntityEntryExtraState
Implementations must return self if they match or delegate discovery to the next state in line.
getExtraState
in interface EntityEntryExtraState
Copyright © 2017 JBoss by Red Hat. All rights reserved.