Interface VersionBasicUserType<X>
- Type Parameters:
X
- The type of the user type
- All Superinterfaces:
BasicUserType<X>
,BasicUserTypeStringSupport<X>
public interface VersionBasicUserType<X> extends BasicUserType<X>
A contract for defining a custom basic type to use with entity views for versions in optimistic concurrency control.
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Field Summary
-
Method Summary
Methods inherited from interface com.blazebit.persistence.view.spi.type.BasicUserType
deepClone, getDirtyProperties, hashCode, isDeepEqual, isEqual, isMutable, shouldPersist, supportsDeepCloning, supportsDeepEqualChecking, supportsDirtyChecking, supportsDirtyTracking
Methods inherited from interface com.blazebit.persistence.view.spi.type.BasicUserTypeStringSupport
fromString, toStringExpression
-
Method Details
-
nextValue
Returns the next version value based on the given current version value.- Parameters:
current
- The current version value that may benull
- Returns:
- The next value
-