org.books.data
Class Book

java.lang.Object
  extended by org.books.data.Book
All Implemented Interfaces:
java.io.Serializable

public class Book
extends java.lang.Object
implements java.io.Serializable

The class Book contains the data of a book.

Version:
1.0
Author:
Stephan Fischli
See Also:
Serialized Form

Constructor Summary
Book()
           
 
Method Summary
 java.lang.String getAuthors()
          Gets the authors.
 java.lang.String getBinding()
          Gets the binding.
 long getBookId()
          Gets the book id.
 java.util.Date getDate()
          Gets the date.
 java.lang.String getIsbn()
          Gets the isbn.
 java.lang.Integer getPages()
          Gets the pages.
 java.lang.Double getPrice()
          Gets the price.
 java.lang.String getPublisher()
          Gets the publisher.
 java.lang.String getTitle()
          Gets the title.
 void setAuthors(java.lang.String authors)
          Sets the authors.
 void setBinding(java.lang.String binding)
          Sets the binding.
 void setBookId(long bookId)
          Sets the book id.
 void setDate(java.util.Date date)
          Sets the date.
 void setIsbn(java.lang.String isbn)
          Sets the isbn.
 void setPages(java.lang.Integer pages)
          Sets the pages.
 void setPrice(java.lang.Double price)
          Sets the price.
 void setPublisher(java.lang.String publisher)
          Sets the publisher.
 void setTitle(java.lang.String title)
          Sets the title.
 java.lang.String toString()
          Return all attributes as String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Book

public Book()
Method Detail

toString

public java.lang.String toString()
Return all attributes as String

Overrides:
toString in class java.lang.Object
Returns:
Object as String

getBookId

public long getBookId()
Gets the book id.

Returns:
the book id

setBookId

public void setBookId(long bookId)
Sets the book id.

Parameters:
bookId - The book id to set

getAuthors

public java.lang.String getAuthors()
Gets the authors.

Returns:
the authors

setAuthors

public void setAuthors(java.lang.String authors)
Sets the authors.

Parameters:
authors - The authors to set

getBinding

public java.lang.String getBinding()
Gets the binding.

Returns:
the binding

setBinding

public void setBinding(java.lang.String binding)
Sets the binding.

Parameters:
binding - The binding to set

getDate

public java.util.Date getDate()
Gets the date.

Returns:
the date

setDate

public void setDate(java.util.Date date)
Sets the date.

Parameters:
date - The date to set

getIsbn

public java.lang.String getIsbn()
Gets the isbn.

Returns:
the isbn

setIsbn

public void setIsbn(java.lang.String isbn)
Sets the isbn.

Parameters:
isbn - The isbn to set

getPages

public java.lang.Integer getPages()
Gets the pages.

Returns:
the pages

setPages

public void setPages(java.lang.Integer pages)
Sets the pages.

Parameters:
pages - The pages to set

getPrice

public java.lang.Double getPrice()
Gets the price.

Returns:
the price

setPrice

public void setPrice(java.lang.Double price)
Sets the price.

Parameters:
price - The price to set

getPublisher

public java.lang.String getPublisher()
Gets the publisher.

Returns:
the publisher

setPublisher

public void setPublisher(java.lang.String publisher)
Sets the publisher.

Parameters:
publisher - The publisher to set

getTitle

public java.lang.String getTitle()
Gets the title.

Returns:
the title

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - The title to set


Copyright © 2007 - bouquet dot ch, 3032 Hinterkappelen. All Rights Reserved.