|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.taglibs.rdc.sampleapps.musicstore.ws.Item
public class Item
A generic Amazon Item - an unspecified type It should be normally abstract, but having it a concrete class allows us to proceed with generic item operations (like searches)
Field Summary | |
---|---|
protected java.lang.String |
aSIN
|
protected int |
listPrice
Price in US dollars multiplied by 100 (no decimal symbol required) |
protected java.lang.String |
productGroup
|
protected int |
rank
|
protected java.lang.String |
title
|
Constructor Summary | |
---|---|
Item(java.lang.String asin,
java.lang.String productGroup,
java.lang.String title,
int listPrice,
int rank)
|
Method Summary | |
---|---|
java.lang.String |
getASIN()
Access method for the aSIN property. |
int |
getListPrice()
Access method for the listPrice property. |
java.lang.String |
getProductGroup()
Access method for the productGroup property. |
int |
getRank()
|
java.lang.String |
getTitle()
Access method for the title property. |
protected void |
innerToString(java.lang.StringBuffer buf)
|
void |
setTitle(java.lang.String title)
Set title property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String aSIN
protected java.lang.String productGroup
protected java.lang.String title
protected int rank
protected int listPrice
Constructor Detail |
---|
public Item(java.lang.String asin, java.lang.String productGroup, java.lang.String title, int listPrice, int rank)
asin
- productGroup
- title
- listPrice
- rank
- Method Detail |
---|
public java.lang.String getASIN()
public java.lang.String getProductGroup()
public void setTitle(java.lang.String title)
title
- The new value of the title propertypublic java.lang.String getTitle()
public int getListPrice()
protected void innerToString(java.lang.StringBuffer buf)
buf
- public java.lang.String toString()
toString
in class java.lang.Object
public int getRank()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |