| |
|
| java.lang.Object abook.data.Acquisition
Acquisition | public class Acquisition (Code) | | Provides object of type Acquisition mapping the data stored in the sql database
|
Acquisition | public Acquisition(User theUser, Book theBook)(Code) | | Constructs a new Acquisition object
Parameters: theBook - The book acquired. Parameters: theUser - The user of the book. |
getBook | public Book getBook()(Code) | | Returns the book. |
getBook_id | public long getBook_id()(Code) | | Returns the bookId. |
getLastKnownPosition | public double getLastKnownPosition()(Code) | | Returns the lastKnownPosition. |
getUser | public User getUser()(Code) | | Returns the user. |
getUser_id | public String getUser_id()(Code) | | Returns the userId. |
isCurrentListening | public boolean isCurrentListening()(Code) | | Returns the isCurrentListening. |
setBook | public void setBook(Book book)(Code) | | Parameters: book - The book to set. |
setBook_id | public void setBook_id(long bookId)(Code) | | Parameters: bookId - The bookId to set. |
setCurrentListening | public void setCurrentListening(boolean isCurrentListening)(Code) | | Parameters: isCurrentListening - The isCurrentListening to set. |
setLastKnownPosition | public void setLastKnownPosition(double lastKnownPosition)(Code) | | Parameters: lastKnownPosition - The lastKnownPosition to set. |
setUser | public void setUser(User user)(Code) | | Parameters: user - The user to set. |
setUser_id | public void setUser_id(String userId)(Code) | | Parameters: userId - The userId to set. |
|
|
|