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

java.lang.Object
  extended by org.cocome.tradingsystem.inventory.application.reporting.StoreTO
      extended by org.cocome.tradingsystem.inventory.application.store.StoreWithEnterpriseTO
All Implemented Interfaces:
java.io.Serializable

public class StoreWithEnterpriseTO
extends StoreTO

StoreWithEnterpriseTO is used as transfer object class for transferring basic store information and additional enterprise 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  EnterpriseTO enterpriseTO
           
 
Fields inherited from class org.cocome.tradingsystem.inventory.application.reporting.StoreTO
id, location, name
 
Constructor Summary
StoreWithEnterpriseTO()
           
 
Method Summary
 EnterpriseTO getEnterpriseTO()
          Gets EnterpriseTO instance for enterprise which the store belongs to.
 void setEnterpriseTO(EnterpriseTO enterpriseTO)
          Sets enterprise which store belongs to.
 
Methods inherited from class org.cocome.tradingsystem.inventory.application.reporting.StoreTO
getId, getLocation, getName, setId, setLocation, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enterpriseTO

protected EnterpriseTO enterpriseTO
Constructor Detail

StoreWithEnterpriseTO

public StoreWithEnterpriseTO()
Method Detail

getEnterpriseTO

public EnterpriseTO getEnterpriseTO()
Gets EnterpriseTO instance for enterprise which the store belongs to.

Returns:
the enterprise this store belongs to

setEnterpriseTO

public void setEnterpriseTO(EnterpriseTO enterpriseTO)
Sets enterprise which store belongs to.

Parameters:
enterpriseTO -