org.cocome.tradingsystem.inventory.application.store
Class StoreWithEnterpriseTO
java.lang.Object
org.cocome.tradingsystem.inventory.application.reporting.StoreTO
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
Fields inherited from class org.cocome.tradingsystem.inventory.application.reporting.StoreTO |
id, location, name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enterpriseTO
protected EnterpriseTO enterpriseTO
StoreWithEnterpriseTO
public StoreWithEnterpriseTO()
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
-