net.sf.basedb.info
Class VersionInfo
java.lang.Object
net.sf.basedb.info.VersionInfo
- All Implemented Interfaces:
- Serializable, Transferable
public class VersionInfo
- extends Object
- implements Serializable, Transferable
Information about the version the BASE server is running.
- Version:
- 2.5
- Author:
- Nicklas
- See Also:
- Serialized Form
Constructor Summary |
VersionInfo()
Creates a new empty info object |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
major
private String major
minor
private String minor
maintenance
private String maintenance
build
private int build
schema
private int schema
VersionInfo
public VersionInfo()
- Creates a new empty info object
getBuild
public int getBuild()
- Returns:
- Returns the build number
- See Also:
Application.getBuild()
setBuild
public void setBuild(int build)
getMaintenance
public String getMaintenance()
- Returns:
- Returns the maintenance version
- See Also:
Application.getMaintenanceVersion()
setMaintenance
public void setMaintenance(String maintenance)
getMajor
public String getMajor()
- Returns:
- Returns the major version
- See Also:
Application.getMajorVersion()
setMajor
public void setMajor(String major)
getMinor
public String getMinor()
- Returns:
- Returns the minor version
- See Also:
Application.getMinorVersion()
setMinor
public void setMinor(String minor)
getSchema
public int getSchema()
- Returns:
- Returns the database schema version
- See Also:
Application.getSchemaVersion()
setSchema
public void setSchema(int schema)
toString
public String toString()
- Combine the versions to a string: major.minor.maintenance (build; schema)
- Overrides:
toString
in class Object