// // This Java class generated on Sat Apr 02 2005 at 12:30:05.190 // // // Entity: Book // A book - It is always related to one author and one publisher. // class Book { private int bookId; // read-only private String title; private String isbn; private int authorId; // references Author private int publisherId; // references Publisher // // Accessors and mutators // public int getBookId() { return bookId; } // No setter for read-only bookId public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getIsbn() { return isbn; } public void setIsbn(String isbn) { this.isbn = isbn; } public int getAuthorId() { return authorId; } public void setAuthorId(int authorId) { this.authorId = authorId; } public int getPublisherId() { return publisherId; } public void setPublisherId(int publisherId) { this.publisherId = publisherId; } }