Package ome.model

Interface IMutable

    • Method Detail

      • getVersion

        java.lang.Integer getVersion()
        optimistic-lock version. Usually managed by the backend.
      • setVersion

        void setVersion​(java.lang.Integer version)
        use with caution. In general, the version should only be altered by the backend. In the best case, an exception will be thrown for a version not equal to the current DB value. In the worst (though rare) case, the new version could match the database, and override optimistic lock checks that are supposed to prevent data loss.
        Parameters:
        version - Value for this objects version.