|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.books.data.Book
public class Book
The class Book contains the data of a book.
Constructor Summary | |
---|---|
Book()
|
Method Summary | |
---|---|
java.lang.String |
getAuthors()
Gets the authors. |
java.lang.String |
getBinding()
Gets the binding. |
long |
getBookId()
Gets the book id. |
java.util.Date |
getDate()
Gets the date. |
java.lang.String |
getIsbn()
Gets the isbn. |
java.lang.Integer |
getPages()
Gets the pages. |
java.lang.Double |
getPrice()
Gets the price. |
java.lang.String |
getPublisher()
Gets the publisher. |
java.lang.String |
getTitle()
Gets the title. |
void |
setAuthors(java.lang.String authors)
Sets the authors. |
void |
setBinding(java.lang.String binding)
Sets the binding. |
void |
setBookId(long bookId)
Sets the book id. |
void |
setDate(java.util.Date date)
Sets the date. |
void |
setIsbn(java.lang.String isbn)
Sets the isbn. |
void |
setPages(java.lang.Integer pages)
Sets the pages. |
void |
setPrice(java.lang.Double price)
Sets the price. |
void |
setPublisher(java.lang.String publisher)
Sets the publisher. |
void |
setTitle(java.lang.String title)
Sets the title. |
java.lang.String |
toString()
Return all attributes as String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Book()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public long getBookId()
public void setBookId(long bookId)
bookId
- The book id to setpublic java.lang.String getAuthors()
public void setAuthors(java.lang.String authors)
authors
- The authors to setpublic java.lang.String getBinding()
public void setBinding(java.lang.String binding)
binding
- The binding to setpublic java.util.Date getDate()
public void setDate(java.util.Date date)
date
- The date to setpublic java.lang.String getIsbn()
public void setIsbn(java.lang.String isbn)
isbn
- The isbn to setpublic java.lang.Integer getPages()
public void setPages(java.lang.Integer pages)
pages
- The pages to setpublic java.lang.Double getPrice()
public void setPrice(java.lang.Double price)
price
- The price to setpublic java.lang.String getPublisher()
public void setPublisher(java.lang.String publisher)
publisher
- The publisher to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The title to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |