FileDocCategorySizeDatePackage
PurchaseOrder.javaAPI DocExample934Wed Feb 27 10:13:42 GMT 2002javajaxb.po

PurchaseOrder

public class PurchaseOrder extends Object

Fields Summary
protected ArrayList
orderList
list of Order
Constructors Summary
public PurchaseOrder()



      
    
public PurchaseOrder(ArrayList orderList)
full constructor

        if (orderList != null)
            this.orderList = orderList;
    
Methods Summary
public voidaddOrder(Order order)

        orderList.add(order);
    
public OrdergetOrder(int i)

        return((Order)orderList.get(i));
    
public java.util.ArrayListgetOrderList()
list of Order

        return(orderList);
    
public intorderCount()

        return(orderList.size());
    
public voidsetOrder(int i, Order order)

        orderList.set(i, order);
    
public voidsetOrderList(java.util.ArrayList orderList)
list of Order

        this.orderList = orderList;