com.ibm.websphere.samples.pbw.war
Class ProductBean

java.lang.Object
  extended by com.ibm.websphere.samples.pbw.war.ProductBean
All Implemented Interfaces:
Serializable

public class ProductBean
extends Object
implements Serializable

Provides backing bean support for the product web page. Accessed via the shopping bean.

See Also:
Serialized Form

Constructor Summary
protected ProductBean(Inventory inventory)
           
 
Method Summary
 String getCategoryName()
           
 Inventory getInventory()
           
 String getMenuString()
           
 String getPrice()
           
 int getQuantity()
           
 void setQuantity(int quantity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductBean

protected ProductBean(Inventory inventory)
Method Detail

getCategoryName

public String getCategoryName()

getInventory

public Inventory getInventory()

getMenuString

public String getMenuString()

getPrice

public String getPrice()

getQuantity

public int getQuantity()

setQuantity

public void setQuantity(int quantity)


Copyright © 2011. All Rights Reserved.