FileDocCategorySizeDatePackage
ProductBean.javaAPI DocExample1553Tue Oct 09 11:03:40 BST 2001com.ecerami.soap

ProductBean

public class ProductBean extends Object
A Product Bean Encapsulates data regarding one product

Fields Summary
private String
name
private String
description
private double
price
private String
sku
Constructors Summary
public ProductBean()
Zero-argument Constructor

 
public ProductBean(String name, String description, double price, String sku)
Constructor with full arguments

    this.name = name;
    this.description = description;
    this.price = price;
    this.sku = sku;
  
Methods Summary
public java.lang.StringgetDescription()

 return description; 
public java.lang.StringgetName()

 return name; 
public doublegetPrice()

 return price; 
public java.lang.StringgetSKU()

 return sku; 
public voidsetDescription(java.lang.String description)

      this.description = description;
  
public voidsetName(java.lang.String name)

    this.name = name;
  
public voidsetPrice(double price)

    this.price = price;
  
public voidsetSKU(java.lang.String sku)

    this.sku = sku;