
net.jmatrix.db.schema.DBVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsql Show documentation
Show all versions of jsql Show documentation
SQL Utilities including simple command line, schema management.
package net.jmatrix.db.schema;
import java.util.Date;
import net.jmatrix.db.common.Version;
/**
* Represents a version as it exists in the database.
*
*/
public class DBVersion {
Version version=null;
Date applyDate=null;
String action=null;
String hostname=null;
String hostuser=null;
String dbuser=null;
Boolean rollback=null;
String filepath=null;
String fileChecksum=null;
String dbChecksum=null;
public DBVersion() {
}
public String toString() {
return "DBVersion("+version+", "+action+")";
}
public Version getVersion() {
return version;
}
public void setVersion(Version version) {
this.version = version;
}
public Date getApplyDate() {
return applyDate;
}
public void setApplyDate(Date applyDate) {
this.applyDate = applyDate;
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public String getFilepath() {
return filepath;
}
public void setFilepath(String filepath) {
this.filepath = filepath;
}
public String getHostname() {
return hostname;
}
public void setHostname(String hostname) {
this.hostname = hostname;
}
public String getHostuser() {
return hostuser;
}
public void setHostuser(String hostuser) {
this.hostuser = hostuser;
}
public String getDbuser() {
return dbuser;
}
public void setDbuser(String dbuser) {
this.dbuser = dbuser;
}
public Boolean getRollback() {
return rollback;
}
public void setRollback(Boolean rollback) {
this.rollback = rollback;
}
public String getFileChecksum() {
return fileChecksum;
}
public void setFileChecksum(String fileChecksum) {
this.fileChecksum = fileChecksum;
}
public String getDbChecksum() {
return dbChecksum;
}
public void setDbChecksum(String dbChecksum) {
this.dbChecksum = dbChecksum;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy