com.restfully.shop.persistence
Class OrderEntity
java.lang.Object
com.restfully.shop.persistence.OrderEntity
public class OrderEntity
- extends java.lang.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 java.util.List<LineItemEntity> lineItems
total
protected double total
date
protected java.lang.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 java.util.List<LineItemEntity> getLineItems()
setLineItems
public void setLineItems(java.util.List<LineItemEntity> lineItems)
getDate
public java.lang.String getDate()
setDate
public void setDate(java.lang.String date)
getTotal
public double getTotal()
setTotal
public void setTotal(double total)
getCustomer
public CustomerEntity getCustomer()
setCustomer
public void setCustomer(CustomerEntity customer)
Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.