FileDocCategorySizeDatePackage
Customer.javaAPI DocHibernate 3.2.51408Thu Nov 25 07:37:00 GMT 2004org.hibernate.test.cid

Customer

public class Customer extends Object
author
Gavin King

Fields Summary
private String
customerId
private String
name
private String
address
private List
orders
Constructors Summary
Methods Summary
public OrdergenerateNewOrder(java.math.BigDecimal total)

		Order order = new Order(this);
		order.setOrderDate( new GregorianCalendar() );
		order.setTotal( total );

		return order;
	
public java.lang.StringgetAddress()

return
Returns the address.

	    	 
	   
		return address;
	
public java.lang.StringgetCustomerId()

return
Returns the customerId.

		return customerId;
	
public java.lang.StringgetName()

return
Returns the name.

		return name;
	
public java.util.ListgetOrders()

return
Returns the orders.

		return orders;
	
public voidsetAddress(java.lang.String address)

param
address The address to set.

		this.address = address;
	
public voidsetCustomerId(java.lang.String customerId)

param
customerId The customerId to set.

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

param
name The name to set.

		this.name = name;
	
public voidsetOrders(java.util.List orders)

param
orders The orders to set.

		this.orders = orders;