Examples of Book

  • org.agoncal.book.javaee7.chapter11.Book
    press.com/ http://www.antoniogoncalves.org --
  • org.agoncal.training.javaee6.domain.Book
    ntoniogoncalves.org --
  • org.albite.book.model.book.Book
  • org.apache.axis2.jibx.beans.Book
  • org.apache.axis2.json.adb.xsd.Book
    @version $Rev: 704201 $ $Date: 2008-10-13 14:52:25 -0400 (Mon, 13 Oct 2008) $
  • org.apache.bval.jsr303.example.Book
  • org.apache.camel.component.routebox.demo.Book
  • org.apache.camel.dataformat.bindy.model.simple.onetomany.Book
  • org.apache.camel.example.cxf.jaxrs.resources.Book
  • org.apache.cxf.customer.book.Book
  • org.apache.cxf.jaxrs.model.wadl.jaxb.Book
  • org.apache.cxf.jaxrs.resources.Book
  • org.apache.cxf.systest.jaxrs.Book
  • org.apache.cxf.systest.jaxrs.codegen.jibx.Book
  • org.apache.cxf.systest.jaxrs.security.Book
  • org.apache.flink.api.java.typeutils.runtime.AbstractGenericTypeSerializerTest.Book
  • org.apache.openjpa.persistence.enhance.identity.Book
    s.apache.org/jira/browse/OPENJPA-207">OPENJPA-207 @author Jeffrey Blattman @author Pinaki Poddar
  • org.apache.tapestry.vlib.ejb.Book
    Represents a single result row from a {@link IBookQuery}. In effect, this is a light-wieght, serializable, read-only version of an {@link IBook}bean, plus it contains the owner and holder name (which means we don't have to go find the correct {@link IPerson} to dig out the name).

    This is provided for efficient access when doing various queries. @version $Id: Book.java,v 1.4 2004/02/19 17:37:39 hlship Exp $ @author Howard Lewis Ship

  • org.apache.torque.test.Book
  • org.apache.torque.test.dbobject.Book
    Book table The skeleton for this class was autogenerated by Torque on: [Wed Feb 27 08:39:08 CET 2013] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.
  • org.apache.wicket.util.tester.apps_1.Book
    @author Juergen Donnerstag
  • org.apache.wink.jaxrs.test.jaxb.book.Book
  • org.books.domain.Book
  • org.camelcookbook.transformation.myschema.Book
  • org.codehaus.xfire.demo.Book
    @author Dan Diephouse
  • org.conserve.objects.Book
    @author Erik Berglund
  • org.corrib.s3b.mbb.beans.Book
  • org.crosswire.jsword.book.Book
  • org.dcarew.samplemodel.model.Book
  • org.dozer.vo.cumulative.Book
    @author Dmitry Buzdin
  • org.easycassandra.bean.model.Book
    the Book class. @author otaviojava
  • org.eclipse.example.library.Book
    A representation of the model object 'Book'.

    The following features are supported:

    @see org.eclipse.example.library.LibraryPackage#getBook() @model @generated
  • org.exoplatform.services.rest.generated.Book
    3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{}title"/> <element ref="{}author"/> <element ref="{}price"/> <element ref="{}member-price"/> </sequence> <attribute name="send-by-post" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
  • org.exoplatform.ws.frameworks.json.Book
    @author Andrey Parfonov @version $Id: Book.java 45 2010-10-05 06:51:11Z andrew00x $
  • org.glassfish.jersey.tests.integration.servlet_25_mvc_1.resource.Book
  • org.glassfish.jersey.tests.integration.servlet_25_mvc_2.resource.Book
  • org.glassfish.jersey.tests.integration.servlet_25_mvc_3.resource.Book
  • org.hibernate.search.test.performance.model.Book
    @author Tomas Hradec
  • org.hibernate.search.test.query.Book
    @author Emmanuel Bernard
  • org.infinispan.query.indexedembedded.Book
  • org.jboss.resteasy.cdi.decorators.Book
    Book is 1) a JAXB class, suitable for transport over the network, and 2) an @Entity class, suitable for JPA storage @author Ron Sigal @version $Revision: 1 $
  • org.jboss.resteasy.cdi.ejb.Book
    Book is 1) a JAXB class, suitable for transport over the network, and 2) an @Entity class, suitable for JPA storage It implements Serializable so that it can be returned from a JAX-RS resource in its role as EJB. @author Ron Sigal @version $Revision: 1 $
  • org.jboss.resteasy.cdi.events.Book
    Book is 1) a JAXB class, suitable for transport over the network, and 2) an @Entity class, suitable for JPA storage @author Ron Sigal @version $Revision: 1 $
  • org.jboss.resteasy.cdi.events.ejb.Book
    Book is 1) a JAXB class, suitable for transport over the network, and 2) an @Entity class, suitable for JPA storage @author Ron Sigal @version $Revision: 1 $
  • org.jboss.resteasy.cdi.injection.Book
    Book is 1) a JAXB class, suitable for transport over the network, and 2) an @Entity class, suitable for JPA storage @author Ron Sigal @version $Revision: 1 $
  • org.jboss.resteasy.cdi.interceptors.Book
    Book is 1) a JAXB class, suitable for transport over the network, and 2) an @Entity class, suitable for JPA storage @author Ron Sigal @version $Revision: 1 $
  • org.jboss.resteasy.examples.data.Book
    @author Bill Burke @version $Revision: 1 $
  • org.jboss.resteasy.links.test.Book
  • org.jboss.test.xml.book.Book
    Book class that represents book element in XML content. @version $Revision: 37406 $ @author Alexey Loubyansky
  • org.jooq.example.db.h2.tables.Book
  • org.jrest.dao.test.entities.Book
    书本 @author Franky
  • org.kite9.java.examples.library.Book
  • org.mockserver.model.Book
    @author jamesdbloom
  • org.mule.example.bookstore.Book
    Simple class which represents a Book in the catalog of the bookstore.
  • org.mule.test.integration.transaction.extras.Book
  • org.objectweb.speedo.tutorial.pobjects.additional.detach.Book
    @author Y.Bersihand
  • org.ocpsoft.rewrite.showcase.bookstore.model.Book
  • org.openfaces.demo.beans.datatable.Book
  • org.ops4j.pax.exam.sample1.model.Book
  • org.ops4j.pax.exam.sample4.model.Book
  • org.ops4j.pax.exam.sample6.model.Book
  • org.ow2.easybeans.tests.common.ejbs.entity.book.Book
    Defines a book with its name, id and author. @author Gisele Pinheiro Souza @author Eduardo Studzinski Estima de Castro
  • org.pau.assetmanager.entities.Book
    This class represents a Book which is a container of annotations @author Pau Carré Cardona
  • org.springframework.data.cassandra.test.integration.simpletons.Book
    Test POJO @author David Webb
  • org.springframework.data.elasticsearch.entities.Book
    @author Rizwan Idrees @author Mohsin Husen
  • org.springframework.issues.data.Book
  • org.switchyard.quickstarts.demos.library.types.Book
    3.org/2001/XMLSchema}anyType"> <sequence> <element name="isbn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="synopsis" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
  • org.wicketstuff.osgi.test.library.model.Book
  • org.zkoss.zss.model.Book
    Represent a spread sheet book. @author henrichen
  • properties.Book
  • queries.Book
  • quickdb.model.Book
  • relationships.Book
  • sample.servicelifecycle.bean.Book
  • syam.BookEditor.Book
    BookActions (BookActions.java) @author syam
  • talend.camel.examples.jaxrsjmshttp.common.Book
  • test.controller.Book
  • test.entity.Book
  • test.utils.json.Book
  • transactions.Book

  • Examples of org.springframework.data.elasticsearch.entities.Book

      @Test
      public void shouldIndexInnerObject() {
        // given
        String id = randomAlphanumeric(5);
        Book book = new Book();
        book.setId(id);
        book.setName("xyz");
        Author author = new Author();
        author.setId("1");
        author.setName("ABC");
        book.setAuthor(author);
        // when
        bookRepository.save(book);
        // then
        assertThat(bookRepository.findOne(id), is(notNullValue()));
      }
    View Full Code Here

    Examples of org.springframework.issues.data.Book

      @Autowired
      private BookService books;
     
      @Test
      public void test() throws InterruptedException {
        final Book book1 = new Book(1, "A");
        books.createBook(book1);
        final Book book2 = new Book(2, "B");
        books.createBook(book2);

        final Book book3 = new Book(3, "C");
        books.createBookWithoutTx(book3);
       
        final Book bookAfterCommit = new Book(55, "AFTER COMMIT");
        books.triggerCreatePostCommit(bookAfterCommit);
        final Book book4 = new Book(4, "D");
        books.createBook(book4);
       
        assertEquals(book1, books.lookupBookById(1));
        assertEquals(book2, books.lookupBookById(2));
       
    View Full Code Here

    Examples of org.switchyard.quickstarts.demos.library.types.Book

            addBook("978-1-4516-7486-6", "Tesla, Man Out of Time", "Explores the brilliant and prescient mind of one of the twentieth century's greatest scientists and inventors, Nikola Tesla.", 4);
            addBook("978-1-59474-449-5", "Pride and Prejudice and Zombies", "The Classic Regency Romance -- Now with Ultraviolent Zombie Mayhem!", 7);
        }

        private void addBook(String isbn, String title, String synopsis, int quantity) {
            Book book = new Book();
            book.setIsbn(isbn);
            book.setTitle(title);
            book.setSynopsis(synopsis);
            isbns_to_books.put(isbn, book);
            isbns_to_quantities.put(isbn, quantity);
        }
    View Full Code Here

    Examples of org.wicketstuff.osgi.test.library.model.Book

        Author steinbeck = new Author();
        steinbeck.setFirstName("John");
        steinbeck.setLastName("Steinbeck");

        Book buddenbrooks = new Book();
        buddenbrooks.setTitle("Buddenbrooks");
        buddenbrooks.setAuthor(mann);
        mann.getBooks().add(buddenbrooks);

        Book eden = new Book();
        eden.setTitle("East of Eden");
        eden.setAuthor(steinbeck);
        steinbeck.getBooks().add(eden);

        save(mann);
        save(steinbeck);
        save(buddenbrooks);
    View Full Code Here

    Examples of org.zkoss.zss.model.Book

      protected void tearDown() throws Exception {
        super.tearDown();
      }
     
      public void testErrorFormula() {
        Book book = new ExcelImporter().imports(getClass().getResource("/div0.xls"));
        String[] names = book.getNameRangeNames();
        System.out.println("names="+Objects.toString(names));
        Sheet sheet = (Sheet) book.getSheets().get(0);

        //test single column range
        for (int j = 1; j < 8; ++j) { //A1 ~ A7
          Cell cell = sheet.getCell(j-1,0);
          assertEquals(""+j, cell.getText());
    View Full Code Here

    Examples of properties.Book

            EntityManager em = null;

            try {
                em = emf.createEntityManager();

                Book book = new Book();

                book.setTitle("The Grapes of Wrath");
                book.setAuthor("John Steinbeck");
                book.setCopyrightYear(1939);
                Date authorBirthdate =
                    new GregorianCalendar(1902, Calendar.FEBRUARY, 27).getTime();
                book.setAuthorBirthdate(authorBirthdate);

                ShortBlob coverIcon = new ShortBlob(new byte[] { 1, 2, 126, 127 });
                book.setCoverIcon(coverIcon);

                // stored as a multi-valued property
                book.setTags(Arrays.asList("depression", "grapes", "wrath"));

                // not stored (@Transient)
                book.setDebugAccessCount(9999);

                // stored as long_description
                book.setLongDescription("...");

                // stored but not indexed
                book.setFirstSentence("...");

                // Serializable field type stored as a datastore blob property,
                // not indexed
                PublisherMetadata publisherMetadata = new PublisherMetadata();
                publisherMetadata.setItemCode("X1841GH9");
                Date productionStartDate =
                    new GregorianCalendar(2002, Calendar.APRIL, 28).getTime();
                publisherMetadata.setProductionStartDate(productionStartDate);
                Date productionEndDate =
                    new GregorianCalendar(2002, Calendar.JULY, 7).getTime();
                publisherMetadata.setProductionEndDate(productionEndDate);
                book.setPublisherMetadata(publisherMetadata);

                // JPA embedded object, stored as multiple properties on the
                // Book entity.
                Publisher publisher = new Publisher();
                publisher.setName("GM Classics");
                publisher.setMailingAddress("123 Paper St., Schenectady, NY, 12345");
                book.setPublisher(publisher);

                em.persist(book);

            } finally {
                em.close();
    View Full Code Here

    Examples of queries.Book

            EntityManagerFactory emf = EMF.get();
            EntityManager em = null;

            try {
                em = emf.createEntityManager();
                Book book = new Book("978-0141185064");
                book.setTitle("The Grapes of Wrath");
                book.setAuthor("John Steinbeck");
                book.setCopyrightYear(1939);
                Date authorBirthdate =
                    new GregorianCalendar(1902, Calendar.FEBRUARY, 27).getTime();
                book.setAuthorBirthdate(authorBirthdate);

                em.persist(book);
            } finally {
                em.close();
            }

            try {
                em = emf.createEntityManager();
                Book book = new Book("978-0141185101");
                book.setTitle("Of Mice and Men");
                book.setAuthor("John Steinbeck");
                book.setCopyrightYear(1937);
                Date authorBirthdate =
                    new GregorianCalendar(1902, Calendar.FEBRUARY, 27).getTime();
                book.setAuthorBirthdate(authorBirthdate);

                em.persist(book);
            } finally {
                em.close();
            }

            try {
                em = emf.createEntityManager();
                Book book = new Book("978-0684801469");
                book.setTitle("A Farewell to Arms");
                book.setAuthor("Ernest Hemmingway");
                book.setCopyrightYear(1929);
                Date authorBirthdate =
                    new GregorianCalendar(1899, Calendar.JULY, 21).getTime();
                book.setAuthorBirthdate(authorBirthdate);

                em.persist(book);
            } finally {
                em.close();
            }

            try {
                em = emf.createEntityManager();
                Book book = new Book("978-0684830483");
                book.setTitle("For Whom the Bell Tolls");
                book.setAuthor("Ernest Hemmingway");
                book.setCopyrightYear(1940);
                Date authorBirthdate =
                    new GregorianCalendar(1899, Calendar.JULY, 21).getTime();
                book.setAuthorBirthdate(authorBirthdate);

                em.persist(book);
            } finally {
                em.close();
            }

            try {
                em = emf.createEntityManager();
                Query query = null;
                List<Book> results = null;

                // Query for all entities of a kind
                query = em.createQuery("SELECT b FROM Book b");
                out.println("<p>Every book:</p><ul>");
                results = (List<Book>) query.getResultList();
                for (Book b : results) {
                    out.println("<li><i>" + b.getTitle() + "</i>, " +
                                b.getAuthor() + ", " +
                                b.getCopyrightYear() + "</li>");
                }
                out.println("</ul>");

                // Query with a property filter
                query = em.createQuery(
                    "SELECT b FROM Book b WHERE copyrightYear >= :earliestYear");
                query.setParameter("earliestYear", 1937);
                out.println("<p>Every book published in or after 1937:</p><ul>");
                results = (List<Book>) query.getResultList();
                for (Book b : results) {
                    out.println("<li><i>" + b.getTitle() + "</i>, " +
                                b.getAuthor() + ", " +
                                b.getCopyrightYear() + "</li>");
                }
                out.println("</ul>");

                // Getting just the first result of a query
                query = em.createQuery(
                    "SELECT b FROM Book b WHERE title = \"A Farewell to Arms\"");
                Book singleResult = (Book) query.getSingleResult();
                if (singleResult != null) {
                    out.println("<p>Found: <i>" + singleResult.getTitle() +
                                "</i>, " + singleResult.getAuthor() + "</p>");
                } else {
                    out.println("<p>Could not find that book I was looking for...</p>");
                }

                // Getting specific results in the result list
    View Full Code Here

    Examples of quickdb.model.Book

        public void testMany2ManyFunction(){
            ArrayList pages = new ArrayList();
            pages.add(new Page(2));
            pages.add(new Page(5));
            pages.add(new Page(7));
            Book book = new Book();
            book.setIsbn(234553);
            book.setName("foundation");
            book.setPage(pages);

            boolean value = admin.save(book);
            System.out.println(value);

            Book b = new Book();
            b.getPage().add(new Page());
            value = admin.obtainWhere(b, "name='foundation'");
            System.out.println(value);

            System.out.println(5 == ((Page)b.getPage().get(1)).getPageNumber());
        }
    View Full Code Here

    Examples of relationships.Book

            EntityManager em = null;

            try {
                em = emf.createEntityManager();

                Book book = new Book("978-0141185064");
                book.setTitle("The Grapes of Wrath");
                book.setAuthor("John Steinbeck");
                book.setCopyrightYear(1939);
                Date authorBirthdate =
                    new GregorianCalendar(1902, Calendar.FEBRUARY, 27).getTime();
                book.setAuthorBirthdate(authorBirthdate);

                book.setBookCoverImage(new BookCoverImage());
                book.getBookCoverImage().setType("image/jpg");

                List<BookReview> bookReviews = book.getBookReviews();
                BookReview bookReview = new BookReview();
                bookReview.setRating(5);
                bookReviews.add(bookReview);
                bookReview = new BookReview();
                bookReview.setRating(4);
                bookReviews.add(bookReview);

                EntityTransaction txn = em.getTransaction();
                txn.begin();
                try {
                    // When the Book is made persistent, the "PERSIST"
                    // action cascades to the BookCoverImage object and
                    // all BookReview objects.
                    em.persist(book);
                    txn.commit();
                } finally {
                    if (txn.isActive()) {
                        txn.rollback();
                    }
                }

            } finally {
                em.close();
            }

            try {
                em = emf.createEntityManager();

                Book book = em.find(Book.class, "978-0141185064");
                if (book != null) {
                    out.println("<p>Found <i>" + book.getTitle() + "</i></p>");

                    // Automatically fetch the BookCoverImage entity and access a field.
                    out.println("<p>Book cover image type: " + book.getBookCoverImage().getType() + "</p>");

                    out.println("<p>Ratings: ");
                    for (BookReview bookReview : book.getBookReviews()) {
                        out.println("[" + bookReview.getRating() + "] ");
                    }
                    out.println("</p>");

                } else {
    View Full Code Here

    Examples of sample.servicelifecycle.bean.Book

            ArrayList args = new ArrayList();
            args.add(isbn);
            args.add(userName);
            Object obj [] = rpcClient.invokeBlocking(new QName("http://servicelifecycle.sample",
                    "lendBook"), args.toArray(), new Class[]{Book.class});
            Book book = (Book) obj[0];
            System.out.println("Title : " + book.getTitle());
            System.out.println("Isbn : " + book.getIsbn());
            System.out.println("Author : " + book.getAuthor());

        }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. 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.