|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a product as part of an inventory.
Field Summary | |
static int |
STD_IMAGE
This constant is with the imageUrl() method to obtain the standard image for this inventory item. |
static int |
WIDE_IMAGE
This constant is with the imageUrl() method to obtain the wide image for this inventory item. |
Method Summary | |
long |
available()
Returns the current available quantity of inventory for this item. |
java.lang.String |
description()
Returns a description for the inventory object. |
java.lang.String |
id()
Returns the identifier for the inventory object. |
java.lang.String |
imageURL(int image)
Returns the URL to an image for the product. |
boolean |
isBelowMinimum()
Returns true if the available stock is less than the minimum requirement for the product. |
long |
max()
Returns the maximum quantity of inventory that should be maintained in stock for this item. |
long |
min()
Returns the minimum quantity of inventory that should be maintained in stock for this item. |
long |
qtyBelowMinimum()
Returns the quantity required to bring the available stock to the minimum specifed for the product. |
Field Detail |
public static final int STD_IMAGE
public static final int WIDE_IMAGE
Method Detail |
public java.lang.String id()
public java.lang.String description()
public long min()
public long max()
public long available()
public java.lang.String imageURL(int image)
public boolean isBelowMinimum()
public long qtyBelowMinimum()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |