org.cocome.tradingsystem.inventory.application.store
Class ProductWithStockItemTO
java.lang.Object
org.cocome.tradingsystem.inventory.application.store.ProductTO
org.cocome.tradingsystem.inventory.application.store.ProductWithStockItemTO
- All Implemented Interfaces:
- java.io.Serializable
public class ProductWithStockItemTO
- extends ProductTO
ProductWithStockItemTO
is used as transfer object class for transferring basic product information and additional stock item information.
It references a single stock item for a specific store.
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stockItemTO
protected StockItemTO stockItemTO
ProductWithStockItemTO
public ProductWithStockItemTO()
getStockItemTO
public StockItemTO getStockItemTO()
- Gets the saved stock item transfer object.
- Returns:
- The referred stock item transfer object.
setStockItemTO
public void setStockItemTO(StockItemTO stockItemTO)
- Sets stock item transfer object.
- Parameters:
stockItemTO
- New stock item transfer object.