public interface UnsavedValueStrategy
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue(Object currentValue)
Get a default value meant to indicate transience.
|
Boolean |
isUnsaved(Object test)
Make the transient/detached determination
|
Boolean isUnsaved(Object test)
test
- The value to be testedtrue
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.Copyright © 2016 JBoss by Red Hat. All rights reserved.