org.cocome.tradingsystem.inventory.application.reporting
Class StoreTO

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

public class StoreTO
extends java.lang.Object
implements java.io.Serializable

StoreTO is used as transfer object class for transferring basic store 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  long id
           
protected  java.lang.String location
           
protected  java.lang.String name
           
 
Constructor Summary
StoreTO()
           
 
Method Summary
 long getId()
          Gets the unique identifier of the OrderTO instance.
 java.lang.String getLocation()
          Gets location of store.
 java.lang.String getName()
          Gets name of store.
 void setId(long id)
           
 void setLocation(java.lang.String location)
          Sets location of this store.
 void setName(java.lang.String name)
          Sets name of store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected long id

name

protected java.lang.String name

location

protected java.lang.String location
Constructor Detail

StoreTO

public StoreTO()
Method Detail

getId

public long getId()
Gets the unique identifier of the OrderTO instance.

Returns:
Returns instance identifier

setId

public void setId(long id)
Parameters:
id -

getName

public java.lang.String getName()
Gets name of store.

Returns:
the name of the store

setName

public void setName(java.lang.String name)
Sets name of store.

Parameters:
name - New store name

getLocation

public java.lang.String getLocation()
Gets location of store.

Returns:
Location of store.

setLocation

public void setLocation(java.lang.String location)
Sets location of this store.

Parameters:
location - Location string.