Learn Java for Web Development

(Tina Meador) #1
CHAPTER 1: Introducing Java Web Development 27

private List authors;
private String publisherName;


public Long getId() {
return id;
}


public void setId(Long id) {
this.id = id;
}


public Long getCategoryId() {
return categoryId;
}


public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}


public String getBookTitle() {
return bookTitle;
}


public void setBookTitle(String bookTitle) {
this.bookTitle = bookTitle;
}


public List getAuthors() {
return authors;
}


public void setAuthors(List272103_1_En authors) {
this.authors = authors;
}


public String getPublisherName() {
return publisherName;
}


public void setPublisherName(String publisherName) {
this.publisherName = publisherName;
}


public String toString() {
return "Book - Id: " + id + ", Book Title: " + bookTitle;
}


}

Free download pdf