} else if(ViewTypes.JSP.equals(modelMetadata.getView()) && WebFrameworks.STRUTS_1_3_10_FRAMEWORK.equals(modelMetadata.getWebFramework()) && AppFrameworks.SPRING_2_5_6_FRAMEWORK.equals(modelMetadata.getAppFramework()) && PersistenceFrameworks.HIBERNATE_3_6_10_FRAMEWORK.equals(modelMetadata.getPersistenceFramework()) && RiaTypes.EXTJS_3_PRESENTATION.equals(modelMetadata.getRia())) {
return new Struts13Spring256Hibernate36JspExt3Generator();
} else if(ViewTypes.JSP.equals(modelMetadata.getView()) && WebFrameworks.STRUTS_1_3_10_FRAMEWORK.equals(modelMetadata.getWebFramework()) && AppFrameworks.SPRING_2_5_6_FRAMEWORK.equals(modelMetadata.getAppFramework()) && PersistenceFrameworks.HIBERNATE_3_6_10_FRAMEWORK.equals(modelMetadata.getPersistenceFramework()) && StringUtils.isBlank(modelMetadata.getRia())) {
return new Struts13Spring256Hibernate36JspGenerator();
} else if(ViewTypes.JSP.equals(modelMetadata.getView()) && WebFrameworks.STRUTS_2_3_x_FRAMEWORK.equals(modelMetadata.getWebFramework()) && AppFrameworks.SPRING_2_5_6_FRAMEWORK.equals(modelMetadata.getAppFramework()) && PersistenceFrameworks.HIBERNATE_3_6_10_FRAMEWORK.equals(modelMetadata.getPersistenceFramework()) && RiaTypes.EXTJS_4_PRESENTATION.equals(modelMetadata.getRia())) {
return new Struts23Spring256Hibernate36JspExt4Generator();
} else if(ViewTypes.JSP.equals(modelMetadata.getView()) && WebFrameworks.STRUTS_2_3_x_FRAMEWORK.equals(modelMetadata.getWebFramework()) && AppFrameworks.SPRING_2_5_6_FRAMEWORK.equals(modelMetadata.getAppFramework()) && PersistenceFrameworks.HIBERNATE_3_6_10_FRAMEWORK.equals(modelMetadata.getPersistenceFramework()) && StringUtils.isBlank(modelMetadata.getRia())) {
return new Struts23Spring256Hibernate36JspGenerator();
}
throw new RuntimeException("找不到该框架组合对应的代码生成器!");