Class Book

All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>, Property

public class Book extends Artwork
Represents a book or publication within the literary arts. Captures bibliographic data according to standard library metadata formats.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • Book

      public Book(String title)
      Creates a new Book with just a title.
      Parameters:
      title - the title of the book
    • Book

      public Book(String title, String author)
      Creates a new Book with title and author.
      Parameters:
      title - the title
      author - the author
    • Book

      public Book(String title, String isbn, TimeCoordinate publicationDate)
      Creates a new Book with basic bibliographic info.
      Parameters:
      title - the title
      isbn - the ISBN
      publicationDate - the date of publication
  • Method Details

    • getTitle

      public String getTitle()
    • getIsbn

      public String getIsbn()
    • getPublisher

      public String getPublisher()
    • getPages

      public int getPages()
    • getGenre

      public Book.Genre getGenre()
    • getLanguage

      public String getLanguage()
    • getSynopsis

      public String getSynopsis()
    • setIsbn

      public void setIsbn(String isbn)
    • setPublisher

      public void setPublisher(String publisher)
    • setPages

      public void setPages(int pages)
    • setGenre

      public void setGenre(Book.Genre genre)
    • setLanguage

      public void setLanguage(String language)
    • setSynopsis

      public void setSynopsis(String synopsis)
    • getCitation

      public String getCitation()
      Returns a formatted academic citation in a simplified APA/MLA style.
      Returns:
      citation string
    • toString

      public String toString()
      Overrides:
      toString in class Artwork