Search in sources :

Example 1 with SchoolModelAssembler

use of org.qi4j.envisage.school.domain.school.assembly.SchoolModelAssembler in project qi4j-sdk by Qi4j.

the class SchoolAssembler method createDomainLayer.

private LayerAssembly createDomainLayer(ApplicationAssembly appAssembly) throws AssemblyException {
    LayerAssembly layerDomain = appAssembly.layer("domain");
    ModuleAssembly modulePerson = layerDomain.module("person");
    new PersonModelAssembler().assemble(modulePerson);
    ModuleAssembly moduleSchool = layerDomain.module("school");
    new SchoolModelAssembler().assemble(moduleSchool);
    return layerDomain;
}
Also used : ModuleAssembly(org.qi4j.bootstrap.ModuleAssembly) SchoolModelAssembler(org.qi4j.envisage.school.domain.school.assembly.SchoolModelAssembler) LayerAssembly(org.qi4j.bootstrap.LayerAssembly) PersonModelAssembler(org.qi4j.envisage.school.domain.person.assembly.PersonModelAssembler)

Aggregations

LayerAssembly (org.qi4j.bootstrap.LayerAssembly)1 ModuleAssembly (org.qi4j.bootstrap.ModuleAssembly)1 PersonModelAssembler (org.qi4j.envisage.school.domain.person.assembly.PersonModelAssembler)1 SchoolModelAssembler (org.qi4j.envisage.school.domain.school.assembly.SchoolModelAssembler)1