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.apache.axis2.json.adb.xsd.Book

            return response;
        }

        private Book[] getBooks(String name, int size) {
            Book[] books = new Book[size];
            Book book;
            for (int i = 0; i < size; i++) {
                book = new Book();
                book.setAuthor(name + "_" + i);
                book.setNumOfPages(175);
                book.setPublisher("Foxier");
                book.setReviewers(new String[]{"rev1", "rev2", "rev3"});
                books[i] = book;
            }
            return books;
        }
    View Full Code Here

    Examples of org.apache.bval.jsr303.example.Book

        public void testValidateMapAndRedefinedDefaultGroupOnNonRootBean() {
            Library lib = new Library();
            lib.setLibraryName("Leibnitz Bibliothek");

            Book book1, book2, book3;

            book1 = new Book();
            book1.setTitle("History of time");
            book1.setSubtitle("How it really works");
            Author hawking = new Author();
            hawking.setFirstName("Stephen");
            hawking.setFirstName("Hawking");
            hawking.setAddresses(new ArrayList<Address>(1));
            Address adr = new Address();
            adr.setAddressline1("Street 1");
            adr.setCity("London");
            adr.setCountry(new Country());
            adr.getCountry().setName("England");
            hawking.getAddresses().add(adr);
            book1.setAuthor(hawking);

            book2 = new Book();
            Author castro = new Author();
            castro.setFirstName("Fidel");
            castro.setLastName("Castro Ruz");
            book2.setAuthor(castro);
            book2.setTitle("My life");

            book3 = new Book();
            book3.setTitle("World best jokes");
            Author someone = new Author();
            someone.setFirstName("John");
            someone.setLastName("Do");
            book3.setAuthor(someone);

            lib.getTaggedBooks().put("science", book1);
            lib.getTaggedBooks().put("politics", book2);
            lib.getTaggedBooks().put("humor", book3);

            Set<ConstraintViolation<Library>> violations;

            violations = validator.validate(lib);
            assertTrue(violations.isEmpty());

            book2.setTitle(null);
            book3.getAuthor().setFirstName(""); // violate NotEmpty validation
            book1.getAuthor().getAddresses().get(0).setCity(null);
            /*
             * This, by the way, tests redefined default group sequence behavior on
             * non-root-beans (Library.Book)!!
             */
            violations = validator.validate(lib);
    View Full Code Here

    Examples of org.apache.camel.component.routebox.demo.Book

           
            if (LOG.isDebugEnabled()) {
                LOG.debug("Beginning Test ---> testRouteboxSedaAsyncRequests()");
            }       
           
            Book book = new Book("Sir Arthur Conan Doyle", "The Adventures of Sherlock Holmes");

            String response = sendAddToCatalogRequest(template, routeboxUri, "addToCatalog", book);
            assertEquals("Book with Author " + book.getAuthor() + " and title " + book.getTitle() + " added to Catalog", response);
           
            // Wait for 2 seconds before a follow-on request if the requests are sent in async mode
            // to allow the earlier request to take effect
            //Thread.sleep(2000);
           
            book = (Book) sendFindBookRequest(template, routeboxUri, "findBook", "Sir Arthur Conan Doyle");
            if (LOG.isDebugEnabled()) {
                LOG.debug("Received book with author " + book.getAuthor() + " and title " + book.getTitle());
            }       
            assertEquals("The Adventures of Sherlock Holmes", book.getTitle());
           
            if (LOG.isDebugEnabled()) {
                LOG.debug("Completed Test ---> testRouteboxSedaAsyncRequests()");
            }
            context.stop();
    View Full Code Here

    Examples of org.apache.camel.dataformat.bindy.model.simple.onetomany.Book

        public List<Map<String, Object>> generateModel() {
            Map<String, Object> modelObjects = new HashMap<String, Object>();

            Author author;
            Book book;

            Map<String, Object> model = new HashMap<String, Object>();
            List<Book> books = new ArrayList<Book>();
            // List<Reference> references = new ArrayList<Reference>();
            // List<Editor> editors = new ArrayList<Editor>();

            author = new Author();
            author.setFirstName("Charles");
            author.setLastName("Moulliard");
            author.setAge("43");

            // 1st Book
            book = new Book();
            book.setTitle("Camel in Action 1");
            book.setYear("2010");

            books.add(book);

            // 2nd book
            book = new Book();
            book.setTitle("Camel in Action 2");
            book.setYear("2012");

            books.add(book);

            // 3rd book
            book = new Book();
            book.setTitle("Camel in Action 3");
            book.setYear("2013");
            books.add(book);

            // 4th book
            book = new Book();
            book.setTitle("Camel in Action 4");
            book.setYear(null);
            books.add(book);

            // Add books to author
            author.setBooks(books);
    View Full Code Here

    Examples of org.apache.camel.example.cxf.jaxrs.resources.Book

            Thread.sleep(1000);
            // JAXWSClient invocation
            JAXWSClient jaxwsClient = new JAXWSClient();
            BookStore bookStore = jaxwsClient.getBookStore();
           
            bookStore.addBook(new Book("Camel User Guide", 234L));
            Book book = bookStore.getBook(123L);
            System.out.println("Get the book with id 123. " + book);      
         
            try {
                book = bookStore.getBook(124L);
                System.out.println("Get the book with id 124. " + book);
            } catch (Exception exception) {
                System.out.println("Get the exception " + exception);
            }
           
            // JAXRSClient invocation
            JAXRSClient jaxrsClient = new JAXRSClient();
            bookStore =  jaxrsClient.getBookStore();
           
            bookStore.addBook(new Book("Camel User Guide", 124L));
            book = bookStore.getBook(124L);
            System.out.println("Get the book with id 124. " + book);
           
            try {
                book = bookStore.getBook(126L);
    View Full Code Here

    Examples of org.apache.cxf.customer.book.Book

            sf.getClientFactoryBean().setBindingId(HttpBindingFactory.HTTP_BINDING_ID);
            sf.setAddress("http://localhost:9080/xml/");
            BookService bs = (BookService)sf.create();
            GetBook getBook = new GetBook();
            getBook.setId(123);
            Book book = bs.getBook(getBook);
            assertEquals(book.getId(), (long)123);
            assertEquals(book.getName(), "CXF in Action");
        }
    View Full Code Here

    Examples of org.apache.cxf.jaxrs.model.wadl.jaxb.Book

       
        @Path("books/\"{bookid}\"")
        public Object addBook(@PathParam("id") int id,
                            @PathParam("bookid") int bookId,
                            @MatrixParam("mid") int matrixId) {
            return new Book(1);
        }
    View Full Code Here

    Examples of org.apache.cxf.jaxrs.resources.Book

        public void testReadNullStringAsNull() throws Exception {
           
            String input = "{\"Book\":{\"id\":123,\"name\":\"null\"}}";
       
            JSONProvider<Book> provider = new JSONProvider<Book>();
            Book theBook = provider.readFrom(Book.class, null, null,
                                       null, null, new ByteArrayInputStream(input.getBytes()));
            assertEquals(123L, theBook.getId());
            assertEquals("", theBook.getName());
        }
    View Full Code Here

    Examples of org.apache.cxf.systest.jaxrs.Book

                                  ? RandomStrategy.class
                                  : SequentialStrategy.class);
                String bookId = expectServerException ? "9999" : "123";
                Exception ex = null;
                try {
                    Book book = bookStore.getBook(bookId);
                    assertNotNull("expected non-null response", book);
                    assertEquals("unexpected id", 123L, book.getId());
                } catch (Exception error) {
                    if (!expectServerException) {
                        //String currEndpoint = getCurrentEndpointAddress(bookStore);
                        //assertTrue(currEndpoint.equals(inactiveReplica));
                        throw error;
    View Full Code Here

    Examples of org.apache.cxf.systest.jaxrs.codegen.jibx.Book

    @Path("books")
    public class JibxResource {
        @GET
        @Produces("application/xml")
        public Book getBook() {
            Book b = new Book();
            b.setName("JIBX");
            b.setId(1L);
            return b;
        }
    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.