com.f1j.ss
Class BookModel.Factory

java.lang.Object
  |
  +--com.f1j.ss.BookModel.Factory

public static class BookModel.Factory
extends java.lang.Object

A class containing methods for creating instances of the BookModel interface.

Since:
12.0
See Also:
BookModel

Method Summary
static BookModel create()
          Creates a new BookModel and attaches it to a new com.f1j.ss.Book .
static BookModel create(Book book)
          Creates a new BookModelI and attaches it to the specified Book.
static BookModel create(Book book, Group group)
          Creates a new BookModel and attaches it to the specified Book.
 

Method Detail

create

public static BookModel create()
Creates a new BookModel and attaches it to a new com.f1j.ss.Book .
Since:
12.0
See Also:
create(Book book), create(Book book, com.f1j.util.Group group)

create

public static BookModel create(Book book)
Creates a new BookModelI and attaches it to the specified Book. if the book parameter is null, this method creates a new Book and attaches the newly created BookModel to it.
Parameters:
book - a Book object.
Since:
12.0
See Also:
create(), create(Book book, com.f1j.util.Group group)

create

public static BookModel create(Book book,
                               Group group)
Creates a new BookModel and attaches it to the specified Book. if the book parameter is null, this method creates a new Book in the specified Group and attaches the newly created BookModel to it.
Parameters:
book - a Book object.
group - a Group object.
See Also:
create(), create(Book book)