|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.bookfinder.domain.Book
public final class Book
Describes a book as returned by the Amazon.com web services.
Field Summary | |
---|---|
static String |
PROPERTYNAME_AUTHORS
|
static String |
PROPERTYNAME_BINDING
|
static String |
PROPERTYNAME_ISBN
|
static String |
PROPERTYNAME_LIST_PRICE
|
static String |
PROPERTYNAME_MEDIUM_IMAGE_URL
|
static String |
PROPERTYNAME_PAGES
|
static String |
PROPERTYNAME_PUBLICATION_DATE
|
static String |
PROPERTYNAME_PUBLISHER
|
static String |
PROPERTYNAME_REVIEWS
|
static String |
PROPERTYNAME_SMALL_IMAGE_URL
|
static String |
PROPERTYNAME_TITLE
|
Constructor Summary | |
---|---|
Book()
|
Method Summary | |
---|---|
List |
getAuthors()
Returns the list of authors. |
String |
getAuthorsEtAl()
Computes and returns the first author of the given details followed by an optional , et al. |
String |
getBinding()
|
String |
getConcatenatedAuthors()
Computes and returns the list of authors of the given details instance as concatenated strings, separated by a colon. |
String |
getEditorialReview()
Returns the editorial review. |
String |
getISBN()
Returns the ISBN. |
String |
getListPrice()
Returns our price. |
URL |
getMediumImageURL()
Returns the URL of the medium sized image. |
String |
getPages()
|
float |
getPrice()
|
String |
getPublicationDate()
Returns the release date. |
String |
getPublisher()
Returns the manufacturer. |
List |
getReviews()
Returns the list of reviews. |
URL |
getSmallImageURL()
Returns the URL of the small image. |
String |
getTitle()
Returns the product name. |
int |
getYear()
|
void |
setAuthors(List authors)
Sets the authors. |
void |
setBinding(String binding)
|
void |
setISBN(String isbn)
Sets the ISBN. |
void |
setListPrice(String listPrice)
Sets the list price. |
void |
setMediumImageURL(String imageUrlMedium)
Sets the medium image URL. |
void |
setPages(String pages)
|
void |
setPublicationDate(String releaseDate)
Sets the release date. |
void |
setPublisher(String publisher)
Sets the publisher. |
void |
setReviews(List reviews)
Sets the reviews. |
void |
setSmallImageURL(String imageUrlSmall)
Sets the small image URL. |
void |
setTitle(String productName)
Sets the product name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTYNAME_TITLE
public static final String PROPERTYNAME_AUTHORS
public static final String PROPERTYNAME_LIST_PRICE
public static final String PROPERTYNAME_BINDING
public static final String PROPERTYNAME_PAGES
public static final String PROPERTYNAME_PUBLISHER
public static final String PROPERTYNAME_PUBLICATION_DATE
public static final String PROPERTYNAME_ISBN
public static final String PROPERTYNAME_SMALL_IMAGE_URL
public static final String PROPERTYNAME_MEDIUM_IMAGE_URL
public static final String PROPERTYNAME_REVIEWS
Constructor Detail |
---|
public Book()
Method Detail |
---|
public String getISBN()
public String getTitle()
public List getAuthors()
public String getPublicationDate()
public String getPublisher()
public URL getSmallImageURL()
public URL getMediumImageURL()
public List getReviews()
public String getListPrice()
public void setISBN(String isbn)
isbn
- The ISBN to setpublic void setTitle(String productName)
productName
- The product name to setpublic void setAuthors(List authors)
authors
- the List of authorspublic void setPublicationDate(String releaseDate)
releaseDate
- The release date to setpublic void setSmallImageURL(String imageUrlSmall)
imageUrlSmall
- The imageUrlMedium to setpublic void setMediumImageURL(String imageUrlMedium)
imageUrlMedium
- The imageUrlMedium to setpublic void setPublisher(String publisher)
publisher
- The publisher to setpublic void setListPrice(String listPrice)
listPrice
- The price to setpublic void setReviews(List reviews)
reviews
- The reviews to setpublic String getEditorialReview()
public String getAuthorsEtAl()
public String getConcatenatedAuthors()
public float getPrice()
public int getYear()
public String getBinding()
public void setBinding(String binding)
binding
- the binding to setpublic String getPages()
public void setPages(String pages)
pages
- the pages to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |