Bookpublic class Book extends Object A helper class used by LibraryDOMCreator and LibraryJDOMCreator,
presented as Examples 1-4 and 1-5 in Chapter 1. |
Fields Summary |
---|
private Publisher | publisher | private String | title | private int | edition | private String | author | private String | isbn | private int | publicationMonth | private int | publicationYear |
Constructors Summary |
---|
public Book(Publisher publisher, String title, int edition, String author, String isbn, int publicationMonth, int publicationYear)
this.publisher = publisher;
this.title = title;
this.edition = edition;
this.author = author;
this.isbn = isbn;
this.publicationMonth = publicationMonth;
this.publicationYear = publicationYear;
|
Methods Summary |
---|
public java.lang.String | getAuthor()
return this.author;
| public int | getEdition()
return this.edition;
| public java.lang.String | getISBN()
return this.isbn;
| public int | getPublicationMonth()
return this.publicationMonth;
| public int | getPublicationYear()
return this.publicationYear;
| public Publisher | getPublisher()
return this.publisher;
| public java.lang.String | getTitle()
return this.title;
|
|