org.springframework.batch.sample.domain.order
Class Order

java.lang.Object
  extended by org.springframework.batch.sample.domain.order.Order

public class Order
extends Object


Field Summary
static String LINE_ID_FOOTER
           
static String LINE_ID_HEADER
           
 
Constructor Summary
Order()
           
 
Method Summary
 boolean equals(Object o)
           
 BillingInfo getBilling()
           
 Address getBillingAddress()
           
 Customer getCustomer()
           
 List<LineItem> getLineItems()
           
 Date getOrderDate()
           
 long getOrderId()
           
 ShippingInfo getShipping()
           
 Address getShippingAddress()
           
 int getTotalItems()
           
 int getTotalLines()
           
 BigDecimal getTotalPrice()
           
 int hashCode()
           
 void setBilling(BillingInfo billing)
           
 void setBillingAddress(Address billingAddress)
           
 void setCustomer(Customer customer)
           
 void setLineItems(List<LineItem> lineItems)
           
 void setOrderDate(Date orderDate)
           
 void setOrderId(long orderId)
           
 void setShipping(ShippingInfo shipping)
           
 void setShippingAddress(Address shippingAddress)
           
 void setTotalItems(int totalItems)
           
 void setTotalLines(int totalLines)
           
 void setTotalPrice(BigDecimal totalPrice)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LINE_ID_HEADER

public static final String LINE_ID_HEADER
See Also:
Constant Field Values

LINE_ID_FOOTER

public static final String LINE_ID_FOOTER
See Also:
Constant Field Values
Constructor Detail

Order

public Order()
Method Detail

getBilling

public BillingInfo getBilling()

setBilling

public void setBilling(BillingInfo billing)

getBillingAddress

public Address getBillingAddress()

setBillingAddress

public void setBillingAddress(Address billingAddress)

getCustomer

public Customer getCustomer()

setCustomer

public void setCustomer(Customer customer)

getLineItems

public List<LineItem> getLineItems()

setLineItems

public void setLineItems(List<LineItem> lineItems)

getOrderDate

public Date getOrderDate()

setOrderDate

public void setOrderDate(Date orderDate)

getOrderId

public long getOrderId()

setOrderId

public void setOrderId(long orderId)

getShipping

public ShippingInfo getShipping()

setShipping

public void setShipping(ShippingInfo shipping)

getShippingAddress

public Address getShippingAddress()

setShippingAddress

public void setShippingAddress(Address shippingAddress)

getTotalPrice

public BigDecimal getTotalPrice()

setTotalPrice

public void setTotalPrice(BigDecimal totalPrice)

getTotalItems

public int getTotalItems()

setTotalItems

public void setTotalItems(int totalItems)

getTotalLines

public int getTotalLines()

setTotalLines

public void setTotalLines(int totalLines)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009 SpringSource. All Rights Reserved.