Package cn.org.rapid_framework.generator.Generator

Examples of cn.org.rapid_framework.generator.Generator.GeneratorModel


      }
      PrintUtils.printExceptionsSumary("",getGenerator(templateRootDir).getOutRootDir(),exceptions);
    }
   
    public void processByTable(Generator g, Table table,boolean isDelete) throws Exception {
          GeneratorModel m = GeneratorModelUtils.newFromTable(table);
          PrintUtils.printBeginProcess(table.getSqlName()+" => "+table.getClassName(),isDelete);
          if(isDelete)
            g.deleteBy(m.templateModel,m.filePathModel);
          else
            g.generateBy(m.templateModel,m.filePathModel);
View Full Code Here


      setShareVars(templateModel);
     
      Map filePathModel = new HashMap();
      setShareVars(filePathModel);
      filePathModel.putAll(BeanHelper.describe(table));
      return new GeneratorModel(templateModel,filePathModel);
    }
View Full Code Here

      setShareVars(templateModel);
     
      Map filePathModel = new HashMap();
      setShareVars(filePathModel);
      filePathModel.putAll(BeanHelper.describe(sql));
      return new GeneratorModel(templateModel,filePathModel);
    }
View Full Code Here

      setShareVars(templateModel);
     
      Map filePathModel = new HashMap();
      setShareVars(filePathModel);
      filePathModel.putAll(BeanHelper.describe(new JavaClass(clazz)));
      return new GeneratorModel(templateModel,filePathModel);
    }
View Full Code Here

      setShareVars(templateModel);
     
      Map filePathModel = new HashMap();
      setShareVars(filePathModel);
      filePathModel.putAll(params);
      return new GeneratorModel(templateModel,filePathModel);
    }
View Full Code Here

TOP

Related Classes of cn.org.rapid_framework.generator.Generator.GeneratorModel

Copyright © 2018 www.massapicom. 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.