FileDocCategorySizeDatePackage
LineItem.javaAPI DocJBoss 4.2.12301Fri Jul 13 20:55:24 BST 2007org.jboss.tutorial.entity.bean

LineItem

public class LineItem extends Object implements Serializable

Fields Summary
private int
id
private double
subtotal
private int
quantity
private String
product
private Order
order
Constructors Summary
Methods Summary
public intgetId()

      return id;
   
public OrdergetOrder()

      return order;
   
public java.lang.StringgetProduct()

      return product;
   
public intgetQuantity()

      return quantity;
   
public doublegetSubtotal()

      return subtotal;
   
public voidsetId(int id)

      this.id = id;
   
public voidsetOrder(Order order)

      this.order = order;
   
public voidsetProduct(java.lang.String product)

      this.product = product;
   
public voidsetQuantity(int quantity)

      this.quantity = quantity;
   
public voidsetSubtotal(double subtotal)

      this.subtotal = subtotal;