Class Order
- java.lang.Object
- org.springframework.batch.sample.domain.order.internal.xml.Order
public class Order extends java.lang.Object
An XML order. This is a complex type.
Constructor Summary
Constructors Constructor Description Order()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Customer
getCustomer()
java.util.Date
getDate()
java.util.List<LineItem>
getLineItems()
Shipper
getShipper()
void
setCustomer(Customer customer)
void
setDate(java.util.Date date)
void
setLineItems(java.util.List<LineItem> lineItems)
void
setShipper(Shipper shipper)
java.lang.String
toString()
Method Detail
getCustomer
public Customer getCustomer()
setCustomer
public void setCustomer(Customer customer)
getDate
public java.util.Date getDate()
setDate
public void setDate(java.util.Date date)
getLineItems
public java.util.List<LineItem> getLineItems()
setLineItems
public void setLineItems(java.util.List<LineItem> lineItems)
getShipper
public Shipper getShipper()
setShipper
public void setShipper(Shipper shipper)
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object