org.cocome.tradingsystem.inventory.application.store
Class ProductWithSupplierTO
java.lang.Object
org.cocome.tradingsystem.inventory.application.store.ProductTO
org.cocome.tradingsystem.inventory.application.store.ProductWithSupplierTO
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ProductWithSupplierAndStockItemTO
public class ProductWithSupplierTO
- extends ProductTO
ProductWithSupplierTO
is used as transfer object class for transferring basic product 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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
supplierTO
protected SupplierTO supplierTO
ProductWithSupplierTO
public ProductWithSupplierTO()
getSupplierTO
public SupplierTO getSupplierTO()
- Gets transfer object for supplier which offers this product.
- Returns:
- Transfer object for supplier.
setSupplierTO
public void setSupplierTO(SupplierTO supplierTO)
- Sets transfer object for supplier
- Parameters:
supplierTO
- New supplier transfer object.