FileDocCategorySizeDatePackage
LineItem.javaAPI DocApache Axis 1.4882Sat Apr 22 18:56:52 BST 2006samples.bidbuy

LineItem

public class LineItem extends Object

Fields Summary
private String
name
private int
quantity
private BigDecimal
price
Constructors Summary
public LineItem()

public LineItem(String name, int quantity, BigDecimal price)

         this.name=name;
         this.quantity=quantity;
         this.price=price;
    
public LineItem(String name, int quantity, String price)

         this.name=name;
         this.quantity=quantity;
         this.price=new BigDecimal(price);
    
Methods Summary
public java.lang.StringgetName()

 return name; 
public java.math.BigDecimalgetPrice()

 return price; 
public intgetQuantity()

 return quantity; 
public voidsetName(java.lang.String value)

 name=value; 
public voidsetPrice(java.math.BigDecimal value)

 price=value; 
public voidsetQuantity(int value)

 quantity=value;