CHAPTER 1: Introducing Java Web Development 27
private List
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
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;
}
}