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)
EntityEntryExtraStateEntityEntry
 Implementations must delegate to the next state or add it as next state if last in line.
addExtraState in interface EntityEntryExtraStatepublic <T extends EntityEntryExtraState> T getExtraState(Class<T> extraStateType)
EntityEntryExtraStateImplementations must return self if they match or delegate discovery to the next state in line.
getExtraState in interface EntityEntryExtraStateCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.