FileDocCategorySizeDatePackage
CategoryForm.javaAPI DocJBoss 4.2.11664Fri Jul 13 20:56:06 BST 2007xpetstore.web.struts.action.category

CategoryForm

public class CategoryForm extends BaseForm
author
Herve Tchepannou
struts.form
name="categoryForm"

Fields Summary
private String
_categoryId
private xpetstore.domain.catalog.ejb.Category
_category
private Collection
_products
Constructors Summary
public CategoryForm()


     
    
    
Methods Summary
public xpetstore.domain.catalog.ejb.CategorygetCategory()

return
CategoryValue

       if (_category == null)
          _category = new Category();
       System.out.println("!! CategoryForm.getCategory " + _category);
        return _category;
    
public java.lang.StringgetCategoryId()

return
String

        return _categoryId;
    
public java.util.CollectiongetProducts()

return
Collection

        return _products;
    
public voidsetCategory(xpetstore.domain.catalog.ejb.Category category)
Sets the categoryValue.

param
categoryValue The categoryValue to set

        _category = category;
    
public voidsetCategoryId(java.lang.String categoryId)
Sets the categoryId.

param
categoryId The categoryId to set

        _categoryId = categoryId;
    
public voidsetProducts(java.util.Collection products)
Sets the productValues.

param
productValues The productValues to set

        _products = products;