Package org.bar.foo.entities

Examples of org.bar.foo.entities.Novel


import org.bar.foo.entities.NewsPaper;
import org.bar.foo.entities.Novel;

public class BuilderBook {
  public static Novel newNovel() {
    Novel novel = new Novel();
    novel.setId(1);
    novel.setNbPages(500);
    novel.setPrinterName("imprimerie");
    novel.setReleaseDate(getDate(1948, 03, 30));
    novel.setTitle("Foundation");
    novel.setAuthors(new Author[] {newAuthor()});
    novel.setEditors(new Editor[] {newEditor()});
    novel.setChapters(new Chapter[] {newChapter(1), newChapter(2), newChapter(3)});
    return novel;
  }
View Full Code Here

TOP

Related Classes of org.bar.foo.entities.Novel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.