org.cocome.tradingsystem.inventory.application.store
Class ProductWithSupplierAndStockItemTO

java.lang.Object
  extended by org.cocome.tradingsystem.inventory.application.store.ProductTO
      extended by org.cocome.tradingsystem.inventory.application.store.ProductWithSupplierTO
          extended by org.cocome.tradingsystem.inventory.application.store.ProductWithSupplierAndStockItemTO
All Implemented Interfaces:
java.io.Serializable

public class ProductWithSupplierAndStockItemTO
extends ProductWithSupplierTO

ProductWithSupplierAndStockItemTO is used as transfer object class for transferring basic product, stockitem and additional supplier information between client and the service-oriented application layer. It contains either copies of persisted data which are transferred to the client, or data which is transferred from the client to the application layer for being processed and persisted.

Author:
herold
See Also:
Serialized Form

Field Summary
protected  StockItemTO stockitemTO
           
 
Fields inherited from class org.cocome.tradingsystem.inventory.application.store.ProductWithSupplierTO
supplierTO
 
Fields inherited from class org.cocome.tradingsystem.inventory.application.store.ProductTO
barcode, id, name, purchasePrice
 
Constructor Summary
ProductWithSupplierAndStockItemTO()
           
 
Method Summary
 StockItemTO getStockItemTO()
          Gets transfer object for stockitem
 void setStockItemTO(StockItemTO stockitemTO)
          Sets transfer object for supplier
 
Methods inherited from class org.cocome.tradingsystem.inventory.application.store.ProductWithSupplierTO
getSupplierTO, setSupplierTO
 
Methods inherited from class org.cocome.tradingsystem.inventory.application.store.ProductTO
equals, getBarcode, getId, getName, getPurchasePrice, setBarcode, setId, setName, setPurchasePrice
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stockitemTO

protected StockItemTO stockitemTO
Constructor Detail

ProductWithSupplierAndStockItemTO

public ProductWithSupplierAndStockItemTO()
Method Detail

getStockItemTO

public StockItemTO getStockItemTO()
Gets transfer object for stockitem

Returns:
stockitemTO StockItem Transfer object

setStockItemTO

public void setStockItemTO(StockItemTO stockitemTO)
Sets transfer object for supplier

Parameters:
stockitemTO - New stockitem transfer object.