com.restfully.shop.persistence
Class OrderEntity

java.lang.Object
  extended by com.restfully.shop.persistence.OrderEntity

public class OrderEntity
extends Object

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  boolean cancelled
           
protected  CustomerEntity customer
           
protected  String date
           
protected  int id
           
protected  List<LineItemEntity> lineItems
           
protected  double total
           
 
Constructor Summary
OrderEntity()
           
 
Method Summary
 CustomerEntity getCustomer()
           
 String getDate()
           
 int getId()
           
 List<LineItemEntity> getLineItems()
           
 double getTotal()
           
 boolean isCancelled()
           
 void setCancelled(boolean cancelled)
           
 void setCustomer(CustomerEntity customer)
           
 void setDate(String date)
           
 void setId(int id)
           
 void setLineItems(List<LineItemEntity> lineItems)
           
 void setTotal(double total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

OrderEntity

public OrderEntity()
Method Detail

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.