| java.lang.Object org.compass.gps.device.jdo.Book
Book | public class Book (Code) | | Definition of a Book. Extends basic Product class.
|
price | protected double price(Code) | | |
publisher | protected String publisher(Code) | | Publisher of the Book.
|
Book | protected Book()(Code) | | Default Constructor.
|
Book | public Book(String name, String description, double price, String author, String isbn, String publisher)(Code) | | Constructor.
Parameters: name - name of product Parameters: description - description of product Parameters: price - Price Parameters: author - Author of the book Parameters: isbn - ISBN number of the book Parameters: publisher - Name of publisher of the book |
getAuthor | public String getAuthor()(Code) | | Accessor for the author of the book.
Author of the book. |
getDescription | public String getDescription()(Code) | | Accessor for the description of the product.
Description of the product. |
getIsbn | public String getIsbn()(Code) | | Accessor for the isbn of the book.
ISBN of the book. |
getName | public String getName()(Code) | | Accessor for the name of the product.
Name of the product. |
getPrice | public double getPrice()(Code) | | Accessor for the price of the product.
Price of the product. |
getPublisher | public String getPublisher()(Code) | | Accessor for the publisher of the book.
Publisher of the book. |
setAuthor | public void setAuthor(String author)(Code) | | Mutator for the author of the book.
Parameters: author - Author of the book. |
setDescription | public void setDescription(String description)(Code) | | Mutator for the description of the product.
Parameters: description - Description of the product. |
setIsbn | public void setIsbn(String isbn)(Code) | | Mutator for the ISBN of the book.
Parameters: isbn - ISBN of the book. |
setName | public void setName(String name)(Code) | | Mutator for the name of the product.
Parameters: name - Name of the product. |
setPrice | public void setPrice(double price)(Code) | | Mutator for the price of the product.
Parameters: price - price of the product. |
setPublisher | public void setPublisher(String publisher)(Code) | | Mutator for the publisher of the book.
Parameters: publisher - Publisher of the book. |
|
|