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;
}
Aggregations