com.restfully.shop.persistence
Class OrderEntity
java.lang.Object
com.restfully.shop.persistence.OrderEntity
public class OrderEntity
- extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected int id
cancelled
protected boolean cancelled
lineItems
protected List<LineItemEntity> lineItems
total
protected double total
date
protected String date
customer
protected CustomerEntity customer
OrderEntity
public OrderEntity()
getId
public int getId()
setId
public void setId(int id)
isCancelled
public boolean isCancelled()
setCancelled
public void setCancelled(boolean cancelled)
getLineItems
public List<LineItemEntity> getLineItems()
setLineItems
public void setLineItems(List<LineItemEntity> lineItems)
getDate
public String getDate()
setDate
public void setDate(String date)
getTotal
public double getTotal()
setTotal
public void setTotal(double total)
getCustomer
public CustomerEntity getCustomer()
setCustomer
public void setCustomer(CustomerEntity customer)
Copyright © 2011. All Rights Reserved.