Mercurial > hg > LGServices
view src/main/java/de/mpiwg/gazetteer/db/DBCoordinatesBook.java @ 40:35ed4e650a53
bug fixed: full text search when section not found in section_index table. add paginator
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 07 Dec 2015 17:06:57 +0100 |
parents | 37840afb7b80 |
children | f106f2487ac1 |
line wrap: on
line source
package de.mpiwg.gazetteer.db; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Collection; public class DBCoordinatesBook { private Integer id; private String books_id; private String place_name; private String x; private String y; public DBCoordinatesBook(ResultSet rs) throws SQLException{ this.id = rs.getInt("id"); this.books_id = rs.getString("books_id"); this.place_name = rs.getString("place_name"); this.x = rs.getString("x"); this.y = rs.getString("y"); } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getBooks_id() { return books_id; } public void setBooks_id(String books_id) { this.books_id = books_id; } public String getPlace_name() { return place_name; } public void setPlace_name(String place_name) { this.place_name = place_name; } public String getX() { return x; } public void setX(String x) { this.x = x; } public String getY() { return y; } public void setY(String y) { this.y = y; } }