Class: BookFactory

classes~BookFactory()

Class representing a book factory.

Constructor

new BookFactory()

Source:

Methods

(async) create()

Create the book.
Source:

load()

Load a book from a database object.
Source:

setCreatedAt()

Set the created at date of the book.
Source:

setId()

Set the id of the book.
Source:

setPublicationDate()

Set the publication date of the book.
Source:

setSubtitle()

Set the subtitle of the book.
Source:

setTitle()

Set the title of the book.
Source:

setUpdatedAt()

Set the updated at date of the book.
Source: