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

java.lang.Object
  extended by org.cocome.tradingsystem.inventory.application.store.OrderEntryTO
      extended by org.cocome.tradingsystem.inventory.application.store.ComplexOrderEntryTO
All Implemented Interfaces:
java.io.Serializable

public class ComplexOrderEntryTO
extends OrderEntryTO

ComplexOrderEntryTO is used as transfer object class for transferring full order entry 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  ProductWithSupplierTO productTO
           
 
Fields inherited from class org.cocome.tradingsystem.inventory.application.store.OrderEntryTO
amount
 
Constructor Summary
ComplexOrderEntryTO()
           
 
Method Summary
 ProductWithSupplierTO getProductTO()
          Gets transfer object for product information of an order entry.
 void setProductTO(ProductWithSupplierTO productTO)
          Sets product transfer object with supplier information for order entry.
 
Methods inherited from class org.cocome.tradingsystem.inventory.application.store.OrderEntryTO
getAmount, setAmount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

productTO

protected ProductWithSupplierTO productTO
Constructor Detail

ComplexOrderEntryTO

public ComplexOrderEntryTO()
Method Detail

getProductTO

public ProductWithSupplierTO getProductTO()
Gets transfer object for product information of an order entry.

Returns:
Product transfer object with supplier information.

setProductTO

public void setProductTO(ProductWithSupplierTO productTO)
Sets product transfer object with supplier information for order entry.

Parameters:
productTO - Product transfer object to be set.