Class Book

java.lang.Object
com.jahnreil_stratpoint.Book

public class Book extends Object
Represents a book with various attributes such as ID, type, title, author, ISBN, etc.
  • Constructor Details

    • Book

      public Book(int bookid, String bookType, String title, String isbn)
      Constructs a Book object with basic information.
      Parameters:
      bookid - The unique identifier of the book.
      bookType - The type of the book (e.g., regular, hardback, eBook, audioBook).
      title - The title of the book.
      isbn - The ISBN (International Standard Book Number) of the book.
    • Book

      public Book(int bookid, String bookType, String title, String author, String isbn)
      Constructs a Book object with author information.
      Parameters:
      bookid - The unique identifier of the book.
      bookType - The type of the book (e.g., regular, hardback, eBook, audioBook).
      title - The title of the book.
      author - The author(s) of the book.
      isbn - The ISBN (International Standard Book Number) of the book.