|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cocome.tradingsystem.inventory.application.store.SaleTO
public class SaleTO
SaleTO
is used as transfer object class for transferring sale information
between client and the service-oriented application layer. It has no persistent pendant.
Field Summary | |
---|---|
protected java.util.Date |
date
|
protected java.util.List<ProductWithStockItemTO> |
productTOs
|
Constructor Summary | |
---|---|
SaleTO()
|
Method Summary | |
---|---|
java.util.Date |
getDate()
Gets date of sale. |
java.util.List<ProductWithStockItemTO> |
getProductTOs()
Gets list of products and corresponding item in stock which the sale consists of. |
void |
setDate(java.util.Date date)
Sets date of sale. |
void |
setProductTOs(java.util.List<ProductWithStockItemTO> productTOs)
Sets list of products for the sale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Date date
protected java.util.List<ProductWithStockItemTO> productTOs
Constructor Detail |
---|
public SaleTO()
Method Detail |
---|
public java.util.Date getDate()
public void setDate(java.util.Date date)
date
- Date to be set.public java.util.List<ProductWithStockItemTO> getProductTOs()
public void setProductTOs(java.util.List<ProductWithStockItemTO> productTOs)
productTOs
- List of products the sale should contain.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |