| java.lang.Object abook.data.Narrator
Narrator | public class Narrator (Code) | | Provides object of type Narrator mapping the data stored in the sql database
|
Narrator | public Narrator(String firstName, String lastName, long narratorId)(Code) | | Constructs a new Narrator object
Parameters: firstName - The narrator's first name. Parameters: lastName - The narrator's last name. Parameters: narratorId - The narrator 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 |
getFirstName | public String getFirstName()(Code) | | Returns the firstName. |
getLastName | public String getLastName()(Code) | | Returns the lastName. |
getNarratorId | public long getNarratorId()(Code) | | Returns the narratorId. |
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. |
setNarratorId | public void setNarratorId(long narratorId)(Code) | | Parameters: narratorId - The narratorId to set. |
|
|