FileDocCategorySizeDatePackage
ItemForm.javaAPI DocJBoss 4.2.11445Fri Jul 13 20:56:06 BST 2007xpetstore.web.struts.action.item

ItemForm

public class ItemForm extends BaseForm
author
Herve Tchepannou
struts.form
name="itemForm"

Fields Summary
private String
_itemId
private xpetstore.domain.catalog.ejb.Item
_item
private xpetstore.domain.catalog.ejb.Product
_product
Constructors Summary
Methods Summary
public xpetstore.domain.catalog.ejb.ItemgetItem()

return
ItemValue

        return _item;
    
public java.lang.StringgetItemId()

return
String


    //~ Methods ----------------------------------------------------------------

           
        
    
        return _itemId;
    
public xpetstore.domain.catalog.ejb.ProductgetProduct()

return
ProductValue

        return _product;
    
public voidsetItem(xpetstore.domain.catalog.ejb.Item item)
Sets the itemValue.

param
itemValue The itemValue to set

        _item = item;
    
public voidsetItemId(java.lang.String itemId)
Sets the itemId.

param
itemId The itemId to set

        _itemId = itemId;
    
public voidsetProduct(xpetstore.domain.catalog.ejb.Product product)
Sets the productValue.

param
productValue The productValue to set

        _product = product;