view src/main/java/de/mpiwg/gazetteer/db/DBCoordinatesBook.java @ 102:6a508b605b5f

1. add new page : footer.jsp. 2. embed footer.jsp into other pages.
author Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
date Fri, 29 Sep 2017 16:03:06 +0200
parents f106f2487ac1
children
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() {
		this.id = 0;
		this.books_id = "";
		this.place_name = "";
		this.x = "";
		this.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;
	}
	


}