Interface Versionable
- All Known Subinterfaces:
IdentifiableNameableVersionable<PK>
,IdentifiableTraceableVersionable<PK,
,T, U> IdentifiableTreeableVersionable<PK,
,T, TR> IdentifiableValidatableVersionable<PK,
,T> IdentifiableVerifiableVersionable<PK>
,IdentifiableVersionable<PK>
,IdentifiableVisibilityVersionable<PK>
,ValidatableVersionable<T>
public interface Versionable
The interface
Versionable
can be implemented from an data that need a version property
for the optimistic lock value.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the version.void
setVersion
(Integer version) Sets the version.
-
Field Details
-
COLUMN_NAME_VERSION
The Constant for the column name 'version'.- See Also:
-
-
Method Details
-
getVersion
Integer getVersion()Gets the version.- Returns:
- the version
-
setVersion
Sets the version.- Parameters:
version
- the new version
-