| |
|
| java.lang.Object org.ow2.easybeans.tests.common.ejbs.entity.ebstore.EBStore
EBStore | public class EBStore implements java.io.Serializable(Code) | | Define a store with an id and a name.
author: Eduardo Studzinski Estima de Castro author: Gisele Pinheiro Souza |
Constructor Summary | |
public | EBStore() Default constructor. | public | EBStore(int id, String name) Parametrized constructor. | public | EBStore(int id) Creates a store with the default name. |
Method Summary | |
public int | getId() Gets the store Id. | public String | getName() Gets the store name. | public void | setId(int id) Sets store Id. | public void | setName(String name) Sets the name. | public String | toString() Computes a string representation of this store. |
DEFAULT_NAME | final public static String DEFAULT_NAME(Code) | | Default store name.
|
EBStore | public EBStore()(Code) | | Default constructor.
|
EBStore | public EBStore(int id, String name)(Code) | | Parametrized constructor.
Parameters: id - store id Parameters: name - store name |
EBStore | public EBStore(int id)(Code) | | Creates a store with the default name.
Parameters: id - store id |
getId | public int getId()(Code) | | Gets the store Id.
the id of the store. |
getName | public String getName()(Code) | | Gets the store name.
name of the store. |
setId | public void setId(int id)(Code) | | Sets store Id.
Parameters: id - the id's store |
setName | public void setName(String name)(Code) | | Sets the name.
Parameters: name - of store. |
toString | public String toString()(Code) | | Computes a string representation of this store.
string representation. |
|
|
|