FileDocCategorySizeDatePackage
ProductForm.javaAPI DocExample1700Wed Apr 05 20:04:10 BST 2006com.oreilly.ajax

ProductForm

public class ProductForm extends org.apache.struts.action.ActionForm

Fields Summary
private int
productId
private String
productName
private String
description
private String
filename
private String
imagePath
private float
price
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()

        return description;
    
public java.lang.StringgetFilename()

        return filename;
    
public java.lang.StringgetImagePath()

        return imagePath;
    
public floatgetPrice()

        return price;
    
public intgetProductId()

        return productId;
    
public java.lang.StringgetProductName()

        return productName;
    
public voidreset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)

        this.productId = -1;
        this.productName = "";
        this.description = "";
        this.filename = "";
        this.price = 0.0F;
    
public voidsetDescription(java.lang.String description)

        this.description = description;
    
public voidsetFilename(java.lang.String filename)

        this.filename = filename;
    
public voidsetImagePath(java.lang.String imagePath)

        this.imagePath = imagePath;
    
public voidsetPrice(float price)

        this.price = price;
    
public voidsetProductId(int productId)

        this.productId = productId;
    
public voidsetProductName(java.lang.String productName)

        this.productName = productName;