Package com.avaje.tests.model.basic

Examples of com.avaje.tests.model.basic.BBookmark


    u.setEmailAddress("test@test.com");
    u.setName("Mr Test");
    u.setPassword("password");

    final List<BBookmark> bookmarks = new ArrayList<BBookmark>();
    final BBookmark b1 = new BBookmark();
    b1.setBookmarkReference("Acts 2:7-20");
    b1.setUser(u);

    final BBookmark b2 = new BBookmark();
    b2.setBookmarkReference("Acts 7:1-20");
    b2.setUser(u);

    bookmarks.add(b1);
    bookmarks.add(b2);

    Ebean.save(bookmarks);
View Full Code Here

TOP

Related Classes of com.avaje.tests.model.basic.BBookmark

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.