org.cocome.tradingsystem.inventory.application.store
Class SupplierTO
java.lang.Object
org.cocome.tradingsystem.inventory.application.store.SupplierTO
- All Implemented Interfaces:
- java.io.Serializable
public class SupplierTO
- extends java.lang.Object
- implements java.io.Serializable
SupplierTO
is used as transfer object class for transferring basic supplier 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 |
name
|
Method Summary |
long |
getId()
Gets identifier. |
java.lang.String |
getName()
Gets name of supplier. |
void |
setId(long id)
|
void |
setName(java.lang.String name)
Sets name of supplier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected long id
name
protected java.lang.String name
SupplierTO
public SupplierTO()
getId
public long getId()
- Gets identifier.
- Returns:
- The identifier.
setId
public void setId(long id)
- Parameters:
id
-
getName
public java.lang.String getName()
- Gets name of supplier.
- Returns:
- Name of supplier.
setName
public void setName(java.lang.String name)
- Sets name of supplier.
- Parameters:
name
- Name to be set.