Mercurial > hg > LGServices
diff src/main/java/de/mpiwg/gazetteer/db/DBBook.java @ 14:3387d855a194
new: toc status in books page
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 29 May 2015 11:00:09 +0200 |
parents | f15b0214cc1c |
children | d81a5401b9af |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/gazetteer/db/DBBook.java Wed May 27 15:30:09 2015 +0200 +++ b/src/main/java/de/mpiwg/gazetteer/db/DBBook.java Fri May 29 11:00:09 2015 +0200 @@ -3,6 +3,8 @@ import java.sql.ResultSet; import java.sql.SQLException; +import com.sun.istack.internal.logging.Logger; + public class DBBook { private String id; @@ -23,8 +25,10 @@ private Integer start_year; private Integer end_year; private String comments; - private Integer toc_correction; + private int toc_correction; + + private DBSectionVersion currentSectionVersion; public DBBook(ResultSet rs) throws SQLException{ @@ -50,7 +54,16 @@ } + public Integer getToc_correction() { + return toc_correction; + } + + public void setToc_correction(Integer toc_correction) { + this.toc_correction = toc_correction; + } + + public String getId() { return id; } @@ -86,14 +99,8 @@ public void setComments(String comments){ this.comments = comments; } - public Integer getTocCorrection() { - return toc_correction; - } - public void setTocCorrection(Integer toc_correction) { - this.toc_correction = toc_correction; - } - + public String getPeriod() { return period; }