接口 UnsavedValueStrategy
-
- 所有已知实现类:
IdentifierValue,VersionValue
public interface UnsavedValueStrategyThe base contract for determining transient status versus detached status.- 作者:
- Steve Ebersole
-
-
方法详细资料
-
isUnsaved
Boolean isUnsaved(Object test)
Make the transient/detached determination- 参数:
test- The value to be tested- 返回:
trueindicates the value corresponds to unsaved data (aka, transient state);falseindicates the value does not corresponds to unsaved data (aka, detached state);nullindicates that this strategy was not able to determine conclusively.
-
-