|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UnsavedValueStrategy
The base contract for determining transient status versus detached status.
| Method Summary | |
|---|---|
Object |
getDefaultValue(Object currentValue)
Get a default value meant to indicate transience. |
Boolean |
isUnsaved(Object test)
Make the transient/detached determination |
| Method Detail |
|---|
Boolean isUnsaved(Object test)
test - The value to be tested
true indicates the value corresponds to unsaved data (aka, transient state; false
indicates the value does not corresponds to unsaved data (aka, detached state); null indicates that
this strategy was not able to determine conclusively.Object getDefaultValue(Object currentValue)
currentValue - The current state value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||