com.restfully.shop.persistence
Class LineItemEntity

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

public class LineItemEntity
extends Object

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  int id
           
protected  ProductEntity product
           
protected  int quantity
           
 
Constructor Summary
LineItemEntity()
           
 
Method Summary
 int getId()
           
 ProductEntity getProduct()
           
 int getQuantity()
           
 void setId(int id)
           
 void setProduct(ProductEntity product)
           
 void setQuantity(int quantity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id

quantity

protected int quantity

product

protected ProductEntity product
Constructor Detail

LineItemEntity

public LineItemEntity()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getProduct

public ProductEntity getProduct()

setProduct

public void setProduct(ProductEntity product)

getQuantity

public int getQuantity()

setQuantity

public void setQuantity(int quantity)


Copyright © 2011. All Rights Reserved.