Examples of assemble()


Examples of org.hibernate.type.Type.assemble()

  throws HibernateException {

    Type elementType = persister.getElementType();
    Serializable[] cached = (Serializable[]) disassembled;
    for ( int i=0; i<cached.length; i++ ) {
      Object object = elementType.assemble( cached[i], getSession(), owner );
      Element subelement = element.addElement( persister.getElementNodeName() );
      elementType.setToXMLNode( subelement, object, persister.getFactory() );
    }

  }
View Full Code Here

Examples of org.hibernate.type.Type.assemble()

   
    Type elementType = persister.getElementType();
    final String indexNodeName = getIndexAttributeName(persister);
    Serializable[] cached = (Serializable[]) disassembled;
    for ( int i=0; i<cached.length; i++ ) {
      Object object = elementType.assemble( cached[i], getSession(), owner );
      Element subelement = element.addElement( persister.getElementNodeName() );
      elementType.setToXMLNode( subelement, object, persister.getFactory() );
      setIndex( subelement, indexNodeName, Integer.toString(i) );
    }
   
View Full Code Here

Examples of org.hibernate.type.Type.assemble()

  throws HibernateException {

    Type elementType = persister.getElementType();
    Serializable[] cached = (Serializable[]) disassembled;
    for ( int i=0; i<cached.length; i++ ) {
      Object object = elementType.assemble( cached[i], getSession(), owner );
      Element subelement = element.addElement( persister.getElementNodeName() );
      elementType.setToXMLNode( subelement, object, persister.getFactory() );
    }

  }
View Full Code Here

Examples of org.hibernate.type.Type.assemble()

    final String indexNodeName = getIndexAttributeName(persister);

    Serializable[] cached = (Serializable[]) disassembled;

    for ( int i=0; i<cached.length; ) {
      Object index = indexType.assemble( cached[i++], getSession(), owner );
      Object object = elementType.assemble( cached[i++], getSession(), owner );
     
      Element subelement = element.addElement( persister.getElementNodeName() );
      elementType.setToXMLNode( subelement, object, persister.getFactory() );
     
View Full Code Here

Examples of org.hibernate.type.Type.assemble()

   
    Type elementType = persister.getElementType();
    final String indexNodeName = getIndexAttributeName(persister);
    Serializable[] cached = (Serializable[]) disassembled;
    for ( int i=0; i<cached.length; i++ ) {
      Object object = elementType.assemble( cached[i], getSession(), owner );
      Element subelement = element.addElement( persister.getElementNodeName() );
      elementType.setToXMLNode( subelement, object, persister.getFactory() );
      setIndex( subelement, indexNodeName, Integer.toString(i) );
    }
   
View Full Code Here

Examples of org.qi4j.bootstrap.ApplicationAssembler.assemble()

            if( qi4j == null )
            {
                throw new PlayQiException( "Can not create Qi4j without a Qi4j Runtime." );
            }

            ApplicationAssembly assembly = assembler.assemble( qi4j.applicationAssemblyFactory() );
            if( assembly == null )
            {
                throw new PlayQiException( "Application assembler did not return any ApplicationAssembly" );
            }
View Full Code Here

Examples of org.qi4j.bootstrap.Assembler.assemble()

        EntityTestAssembler testAss = new EntityTestAssembler();
        testAss.assemble( module );

        Assembler rdfAssembler = new RdfNativeSesameStoreAssembler();
        rdfAssembler.assemble( module );
    }


    private List<ExampleEntity> doCreate( int howMany )
    {
View Full Code Here

Examples of org.qi4j.index.rdf.assembly.RdfNativeSesameStoreAssembler.assemble()

        EntityTestAssembler testAss = new EntityTestAssembler();
        testAss.assemble( module );

        RdfNativeSesameStoreAssembler rdfAssembler = new RdfNativeSesameStoreAssembler();
        rdfAssembler.assemble( module );
    }

    public static ExampleEntity createEntityWithStrings( UnitOfWork uow, ValueBuilderFactory vbf, String... strings )
    {
        EntityBuilder<ExampleEntity> builder = uow.newEntityBuilder( ExampleEntity.class );
View Full Code Here

Examples of org.qi4j.library.rest.server.assembler.RestServerAssembler.assemble()

    @Override
    public void assemble( ModuleAssembly module )
        throws AssemblyException
    {
        RestServerAssembler assembler = new RestServerAssembler();
        assembler.assemble( module );
    }
    // END SNIPPET: UsingAssembler
}
View Full Code Here

Examples of org.qi4j.test.EntityTestAssembler.assemble()

        module.entities( ExampleEntity.class );
        module.values( ExampleValue.class, ExampleValue2.class );

        EntityTestAssembler testAss = new EntityTestAssembler();
        testAss.assemble( module );

        RdfNativeSesameStoreAssembler rdfAssembler = new RdfNativeSesameStoreAssembler();
        rdfAssembler.assemble( module );
    }
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.