| java.lang.Object org.ow2.easybeans.tests.common.ejbs.entity.book.Book
Book | public class Book implements java.io.Serializable(Code) | | Defines a book with its name, id and author.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Constructor Summary | |
public | Book() Default constructor. | public | Book(int id, String name, String author) Parametrized constructor. |
Book | public Book()(Code) | | Default constructor.
|
Book | public Book(int id, String name, String author)(Code) | | Parametrized constructor.
Parameters: id - book id Parameters: name - book name Parameters: author - the book author |
getAuthor | public String getAuthor()(Code) | | Gets the book author.
the author name. |
getId | public int getId()(Code) | | Gets the book Id.
the id of the book. |
getName | public String getName()(Code) | | Gets the book name.
name of the book. |
setAuthor | public void setAuthor(String author)(Code) | | Sets the book author.
Parameters: author - the author name. |
setId | public void setId(int id)(Code) | | Sets book Id.
Parameters: id - the id's book |
setName | public void setName(String name)(Code) | | Sets the name.
Parameters: name - of book. |
toString | public String toString()(Code) | | Computes a string representation of this book.
string representation. |
|
|