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

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

public class ProductBean
extends java.lang.Object
implements java.io.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
 java.lang.String getCategoryName()
           
 Inventory getInventory()
           
 java.lang.String getMenuString()
           
 java.lang.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 java.lang.String getCategoryName()

getInventory

public Inventory getInventory()

getMenuString

public java.lang.String getMenuString()

getPrice

public java.lang.String getPrice()

getQuantity

public int getQuantity()

setQuantity

public void setQuantity(int quantity)


Copyright © 2012. All Rights Reserved.