package sample.hsqldb.bean; import java.io.Serializable; import java.util.Date; import rubbish.db.util.BeanWrapper; public class Book implements Serializable { public Book() { } public Book(String publisher, String id, String title, String author, Date issue_date, Date update_date, Date create_date) { this.publisher = publisher; this.id = id; this.title = title; this.author = author; this.issue_date = issue_date; this.update_date = update_date; this.create_date = create_date; } ///////////////////////////////////////////////////////////////// private String publisher = null; public String getPublisher() { return publisher; } public void setPublisher(String publisher) { this.publisher = publisher; } ///////////////////////////////////////////////////////////////// private String id = null; public String getId() { return id; } public void setId(String id) { this.id = id; } ///////////////////////////////////////////////////////////////// private String title = null; public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } ///////////////////////////////////////////////////////////////// private String author = null; public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } ///////////////////////////////////////////////////////////////// private Date issue_date = null; public Date getIssue_date() { return issue_date; } public void setIssue_date(Date issue_date) { this.issue_date = issue_date; } ///////////////////////////////////////////////////////////////// private Date update_date = null; public Date getUpdate_date() { return update_date; } public void setUpdate_date(Date update_date) { this.update_date = update_date; } ///////////////////////////////////////////////////////////////// private Date create_date = null; public Date getCreate_date() { return create_date; } public void setCreate_date(Date create_date) { this.create_date = create_date; } ///////////////////////////////////////////////////////////////// public String toString() { return (new BeanWrapper(this)).toString(); } }