com.jpattern.orm.annotation.version.VersionInfoImpl Maven / Gradle / Ivy
package com.jpattern.orm.annotation.version;
import com.jpattern.orm.query.LockMode;
/**
*
* @author cinafr
*
* @param
* @param
*/
public class VersionInfoImpl implements VersionInfo {
private final LockMode lockMode;
private final boolean versionable;
public VersionInfoImpl(final LockMode lockMode, final boolean versionable) {
this.lockMode = lockMode;
this.versionable = versionable;
}
@Override
public LockMode getLockMode() {
return this.lockMode;
}
@Override
public boolean isVersionable() {
return this.versionable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy