Mercurial > hg > LGServices
diff src/main/java/de/mpiwg/gazetteer/db/DBBook.java @ 21:5b1856cd6b4f
bug fixed: 1.TOC Done display issue 2.issue in firefox
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 23 Jun 2015 14:20:36 +0200 |
parents | 9c4937b290c6 |
children | 37840afb7b80 |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/gazetteer/db/DBBook.java Fri Jun 19 16:23:16 2015 +0200 +++ b/src/main/java/de/mpiwg/gazetteer/db/DBBook.java Tue Jun 23 14:20:36 2015 +0200 @@ -24,7 +24,7 @@ private Integer start_year; private Integer end_year; private String comments; - private Integer toc_correction; + private String toc_correction; @@ -49,7 +49,8 @@ this.start_year = rs.getInt("start_year"); this.end_year = rs.getInt("end_year"); this.comments = rs.getString("comments"); - this.toc_correction = rs.getInt("toc_correction"); + //this.toc_correction = Integer.parseInt(rs.getString("toc_correction")); + this.toc_correction = rs.getString("toc_correction"); } @@ -58,12 +59,12 @@ return this.getName().compareTo(o.getName()); } - public Integer getToc_correction() { + public String getTocCorrection() { return toc_correction; } - public void setToc_correction(Integer toc_correction) { + public void setTocCorrection(String toc_correction) { this.toc_correction = toc_correction; } @@ -223,6 +224,7 @@ public void setCurrentSectionVersion(DBSectionVersion currentSectionVersion) { this.currentSectionVersion = currentSectionVersion; } + }