|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ora.jsp.beans.shopping.CartBean
This class represents a shopping cart. It holds a list of products.
Field Summary | |
private java.util.Vector |
cart
|
Constructor Summary | |
CartBean()
|
Method Summary | |
ProductBean[] |
getProductList()
Returns the product list. |
float |
getTotal()
Returns the total price for all products in the cart |
void |
setProduct(ProductBean product)
Adds a product to the cart, if it's not already there. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Vector cart
Constructor Detail |
public CartBean()
Method Detail |
public void setProduct(ProductBean product)
product
- the ProductBeanpublic ProductBean[] getProductList()
public float getTotal()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |