com.sun.j2ee.blueprints.shoppingcart.catalog.model
Class Item
java.lang.Object
|
+--com.sun.j2ee.blueprints.shoppingcart.catalog.model.Item
- public class Item
- extends java.lang.Object
- implements java.io.Serializable
This class represents a particular item in the Java Pet
Store Demo. Each item belongs to particular type of product
and has attributes like id,listprice etc.
- See Also:
- Serialized Form
Constructor Summary |
Item(java.lang.String productId,
java.lang.String itemId,
java.lang.String attribute,
double listPrice,
double unitCost)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Item
public Item(java.lang.String productId,
java.lang.String itemId,
java.lang.String attribute,
double listPrice,
double unitCost)
getProductId
public java.lang.String getProductId()
getAttribute
public java.lang.String getAttribute()
getItemId
public java.lang.String getItemId()
getUnitCost
public double getUnitCost()
getListCost
public double getListCost()
Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.