FileDocCategorySizeDatePackage
Order.javaAPI DocHibernate 3.2.51683Tue Aug 10 00:19:46 BST 2004org.hibernate.test.filter

Order

public class Order extends Object
author
Steve Ebersole

Fields Summary
private Long
id
private String
region
private Date
placementDate
private Date
fulfillmentDate
private Salesperson
salesperson
private String
buyer
private List
lineItems
Constructors Summary
Methods Summary
public LineItemaddLineItem(Product product, long quantity)

		return LineItem.generate(this, getLineItems().size(), product, quantity);
	
public java.lang.StringgetBuyer()

		return buyer;
	
public java.util.DategetFulfillmentDate()

		return fulfillmentDate;
	
public java.lang.LonggetId()


	   
		return id;
	
public java.util.ListgetLineItems()

		return lineItems;
	
public java.util.DategetPlacementDate()

		return placementDate;
	
public java.lang.StringgetRegion()

		return region;
	
public SalespersongetSalesperson()

		return salesperson;
	
public voidremoveLineItem(LineItem item)

		removeLineItem( item.getSequence() );
	
public voidremoveLineItem(int sequence)

		getLineItems().remove(sequence);
	
public voidsetBuyer(java.lang.String buyer)

		this.buyer = buyer;
	
public voidsetFulfillmentDate(java.util.Date fulfillmentDate)

		this.fulfillmentDate = fulfillmentDate;
	
public voidsetId(java.lang.Long id)

		this.id = id;
	
protected voidsetLineItems(java.util.List lineItems)

		this.lineItems = lineItems;
	
public voidsetPlacementDate(java.util.Date placementDate)

		this.placementDate = placementDate;
	
public voidsetRegion(java.lang.String region)

		this.region = region;
	
public voidsetSalesperson(Salesperson salesperson)

		this.salesperson = salesperson;