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

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

public class ComplexOrderTO
extends OrderTO

ComplexOrderTO is used as transfer object class for transferring full order 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  java.util.List<ComplexOrderEntryTO> orderEntryTO
           
 
Fields inherited from class org.cocome.tradingsystem.inventory.application.store.OrderTO
deliveryDate, id, orderingDate
 
Constructor Summary
ComplexOrderTO()
           
 
Method Summary
 java.util.List<ComplexOrderEntryTO> getOrderEntryTO()
          Gets list of order entry transfer objects which the order consists of.
 void setOrderEntryTO(java.util.List<ComplexOrderEntryTO> orderEntryTO)
          Sets list of order entry transfer objects.
 
Methods inherited from class org.cocome.tradingsystem.inventory.application.store.OrderTO
getDeliveryDate, getId, getOrderingDate, setDeliveryDate, setId, setOrderingDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orderEntryTO

protected java.util.List<ComplexOrderEntryTO> orderEntryTO
Constructor Detail

ComplexOrderTO

public ComplexOrderTO()
Method Detail

getOrderEntryTO

public java.util.List<ComplexOrderEntryTO> getOrderEntryTO()
Gets list of order entry transfer objects which the order consists of.

Returns:
List of containing order entries.

setOrderEntryTO

public void setOrderEntryTO(java.util.List<ComplexOrderEntryTO> orderEntryTO)
Sets list of order entry transfer objects.

Parameters:
orderEntryTO - The list.