this.children = children;
}
public RootModuleDefinition getModuleDefinition() {
Properties rootModuleProperties = getPropertiesForModule(rootModuleName);
TypeReader typeReader = TypeReaderUtils.getTypeReader(getTypeReaders(), ModuleTypes.ROOT);
RootModuleDefinition rootModuleDefinition = readRootModuleDefinition(rootModuleProperties, typeReader);
//recursively build child definitions
buildChildDefinitions(rootModuleDefinition, rootModuleName);
return rootModuleDefinition;