| java.lang.Object abook.data.Author
Author | public class Author (Code) | | Provides object of type Author mapping the data stored in the sql database
|
Author | public Author(String firstName, String lastName, long authorId)(Code) | | Constructs a new Author object
Parameters: firstName - Author's first name Parameters: lastName - Author's last name Parameters: authorId - Author's identifier |
addBook | public boolean addBook(Book book)(Code) | | Parameters: book - The book to add. true the books collection changed as a result of the call |
getAuthorId | public long getAuthorId()(Code) | | Returns the authorId. |
getFirstName | public String getFirstName()(Code) | | Returns the firstName. |
getLastName | public String getLastName()(Code) | | Returns the lastName. |
setAuthorId | public void setAuthorId(long authorId)(Code) | | Parameters: authorId - The authorId to set. |
setBooks | public void setBooks(Collection books)(Code) | | Parameters: books - The books to set. |
setFirstName | public void setFirstName(String firstName)(Code) | | Parameters: firstName - The firstName to set. |
setLastName | public void setLastName(String lastName)(Code) | | Parameters: lastName - The lastName to set. |
|
|