uk.co.jemos.podam.test.dto.docs.example
Class Order
java.lang.Object
uk.co.jemos.podam.test.dto.docs.example.Order
- All Implemented Interfaces:
- Serializable
public class Order
- extends Object
- implements Serializable
- Author:
- mtedone
- See Also:
- Serialized Form
Constructor Summary |
Order()
|
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
id
private int id
createDate
private Calendar createDate
totalAmount
private double totalAmount
orderItems
private List<OrderItem> orderItems
Order
public Order()
getId
public int getId()
- Returns:
- the id
setId
public void setId(int id)
- Parameters:
id
- the id to set
getCreateDate
public Calendar getCreateDate()
- Returns:
- the createDate
setCreateDate
public void setCreateDate(Calendar createDate)
- Parameters:
createDate
- the createDate to set
getTotalAmount
public double getTotalAmount()
- Returns:
- the totalAmount
setTotalAmount
public void setTotalAmount(double totalAmount)
- Parameters:
totalAmount
- the totalAmount to set
getOrderItems
public List<OrderItem> getOrderItems()
- Returns:
- the orderItems
setOrderItems
public void setOrderItems(List<OrderItem> orderItems)
- Parameters:
orderItems
- the orderItems to set
toString
public String toString()
- Constructs a
String
with all attributes in name = value
format.
- Overrides:
toString
in class Object
- Returns:
- a
String
representation of this object.
Copyright © 2011. All Rights Reserved.