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
    Modifier and Type
    Field
    Description
    static final String
    The Constant for the column name 'version'.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the version.
    void
    Sets the version.
  • Field Details

    • COLUMN_NAME_VERSION

      static final String COLUMN_NAME_VERSION
      The Constant for the column name 'version'.
      See Also:
  • Method Details

    • getVersion

      Integer getVersion()
      Gets the version.
      Returns:
      the version
    • setVersion

      void setVersion(Integer version)
      Sets the version.
      Parameters:
      version - the new version