/hostadmiral/trunk/src/ak/hostadmiral/util/DatabaseVersion.java |
---|
6,19 → 6,35 |
*/ |
public class DatabaseVersion |
{ |
private int version; |
private int major; |
/** |
* |
* @hibernate.id generator-class="assigned" |
*/ |
public int getVersion() |
public int getMajor() |
{ |
return version; |
return major; |
} |
protected void setVersion(int version) |
protected void setMajor(int major) |
{ |
this.version = version; |
this.major = major; |
} |
private int minor; |
/** |
* |
* @hibernate.field |
*/ |
public int getMinor() |
{ |
return minor; |
} |
protected void setMinor(int minor) |
{ |
this.minor = minor; |
} |
} |