Examples of entities()


Examples of org.apache.olingo.odata2.jpa.processor.core.access.data.JPAPage.JPAPageBuilder.entities()

  }

  @Test
  public void testBuildWithNegativeTopSkipToken() {
    JPAPageBuilder pageBuilder = new JPAPageBuilder();
    JPAPage page = pageBuilder.entities(mockEntities())
        .pageSize(PAGE_SIZE)
        .skipToken("-10")
        .top(-5)
        .skip(-1)
        .build();
View Full Code Here

Examples of org.apache.olingo.odata2.jpa.processor.core.access.data.JPAPage.JPAPageBuilder.entities()

  }

  @Test
  public void testBuildWithNoRecords() {
    JPAPageBuilder pageBuilder = new JPAPageBuilder();
    JPAPage page = pageBuilder.entities(mockEntities())
        .pageSize(PAGE_SIZE)
        .skipToken("10")
        .top(1)
        .skip(1)
        .build();
View Full Code Here

Examples of org.qi4j.api.structure.Module.entities()

            @Override
            public void assemble( ModuleAssembly module )
                throws AssemblyException
            {
                new EntityTestAssembler().assemble( module );
                module.entities( SomeOtherFoo.class );
            }

        }.module();

        UnitOfWork uow = module.newUnitOfWork();
View Full Code Here

Examples of org.qi4j.api.structure.Module.entities()

            @Override
            public void assemble( ModuleAssembly module )
                throws AssemblyException
            {
                new EntityTestAssembler().assemble( module );
                module.entities( SomeOtherFoo.class, BasicFoo.class );
            }

        }.module();

        UnitOfWork uow = module.newUnitOfWork();
View Full Code Here

Examples of org.qi4j.bootstrap.ModuleAssembly.entities()

    private void assembleContextLayer( LayerAssembly contextLayer ) throws AssemblyException
    {
        // Role-playing entities
        ModuleAssembly entityRoleModule = contextLayer.module( "CONTEXT-EntityRole" );
        entityRoleModule
              .entities(
                    CargoRoleMap.class,
                    CargosRoleMap.class,
                    HandlingEventRoleMap.class,
                    HandlingEventsRoleMap.class )
View Full Code Here

Examples of org.qi4j.bootstrap.ModuleAssembly.entities()

    private void assembleDomainLayer( LayerAssembly domainLayer ) throws AssemblyException
    {
        // Non-role-playing entities
        ModuleAssembly entityModule = domainLayer.module( "DOMAIN-Entity" );
        entityModule
              .entities(
                    LocationEntity.class,
                    VoyageEntity.class )
              .visibleIn( application );
View Full Code Here

Examples of org.qi4j.bootstrap.ModuleAssembly.entities()

    private void assembleContextLayer( LayerAssembly contextLayer )
        throws AssemblyException
    {
        ModuleAssembly roleMapModule = contextLayer.module( "CONTEXT-RoleMap" );
        roleMapModule
            .entities(
                CargoRoleMap.class,
                CargosRoleMap.class,
                HandlingEventsRoleMap.class )
            .visibleIn( application );
View Full Code Here

Examples of org.qi4j.bootstrap.ModuleAssembly.entities()

                CargosRoleMap.class,
                HandlingEventsRoleMap.class )
            .visibleIn( application );

        ModuleAssembly roleMapCandidatesModule = contextLayer.module( "CONTEXT-RoleMapCandidates" );
        roleMapCandidatesModule
            .entities(
                HandlingEventEntity.class,
                LocationEntity.class,
                VoyageEntity.class )
            .visibleIn( application );
View Full Code Here

Examples of org.qi4j.bootstrap.ModuleAssembly.entities()

        // App
        LayerAssembly appLayer = appAss.layer( "app" );
        ModuleAssembly domainModule = appLayer.module( "domain" );
        {
            domainModule.entities( PretextEntity.class );
        }

        // Uses
        infraLayer.uses( configLayer );
        appLayer.uses( infraLayer );
View Full Code Here

Examples of org.qi4j.bootstrap.ModuleAssembly.entities()

                throws AssemblyException
            {
                new JdbmEntityStoreAssembler().assemble( module );
                new OrgJsonValueSerializationAssembler().assemble( module );
                ModuleAssembly configModule = module.layer().module( "Config" );
                configModule.entities( JdbmConfiguration.class ).visibleIn( Visibility.layer );
                new EntityTestAssembler().assemble( configModule );

                module.services( EhCachePoolService.class );
                configModule.entities( EhCacheConfiguration.class ).visibleIn( Visibility.layer );
            }
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.