本文整理汇总了Java中org.mybatis.generator.codegen.AbstractGenerator类的典型用法代码示例。如果您正苦于以下问题:Java AbstractGenerator类的具体用法?Java AbstractGenerator怎么用?Java AbstractGenerator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AbstractGenerator类属于org.mybatis.generator.codegen包,在下文中一共展示了AbstractGenerator类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
protected void initializeAbstractGenerator(
AbstractGenerator abstractGenerator, List<String> warnings,
ProgressCallback progressCallback) {
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例2: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
/**
* Initialize abstract generator.
*
* @param abstractGenerator
* the abstract generator
* @param warnings
* the warnings
* @param progressCallback
* the progress callback
*/
protected void initializeAbstractGenerator(
AbstractGenerator abstractGenerator, List<String> warnings,
ProgressCallback progressCallback) {
if (abstractGenerator == null) {
return;
}
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例3: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
protected void initializeAbstractGenerator(
AbstractGenerator abstractGenerator, List<String> warnings,
ProgressCallback progressCallback) {
if (abstractGenerator == null) {
return;
}
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例4: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator) {
if (abstractGenerator == null) {
return;
}
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
}
示例5: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings, ProgressCallback progressCallback) {
if (abstractGenerator == null) {
return;
}
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例6: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings,
ProgressCallback progressCallback) {
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例7: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings,
ProgressCallback progressCallback) {
if (abstractGenerator == null) {
return;
}
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例8: initializeAbstractGenerator
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings, ProgressCallback progressCallback) {
abstractGenerator.setContext(context);
abstractGenerator.setIntrospectedTable(this);
abstractGenerator.setProgressCallback(progressCallback);
abstractGenerator.setWarnings(warnings);
}
示例9: calculateServiceInterfaceGenerators
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
private AbstractGenerator calculateServiceInterfaceGenerators(List<String> warnings, ProgressCallback progressCallback) {
AbstractJavaGenerator javaGenerator = new JavaServiceInterfaceGenerator();
initializeAbstractGenerator(javaGenerator, warnings, progressCallback);
serviceInterfaceGenerators.add(javaGenerator);
return javaGenerator;
}
示例10: calculateVOGenerators
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
private AbstractGenerator calculateVOGenerators(List<String> warnings, ProgressCallback progressCallback) {
AbstractJavaGenerator javaGenerator = new VOGenerator();
initializeAbstractGenerator(javaGenerator, warnings, progressCallback);
voGenerators.add(javaGenerator);
return javaGenerator;
}
示例11: calculateQueryGenerators
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
private AbstractGenerator calculateQueryGenerators(List<String> warnings, ProgressCallback progressCallback) {
AbstractJavaGenerator javaGenerator = new QueryGenerator();
initializeAbstractGenerator(javaGenerator, warnings, progressCallback);
queryGenerators.add(javaGenerator);
return javaGenerator;
}
示例12: calculateControllerGenerators
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
private AbstractGenerator calculateControllerGenerators(List<String> warnings, ProgressCallback progressCallback) {
AbstractJavaGenerator javaGenerator = new ControllerGenerator();
initializeAbstractGenerator(javaGenerator, warnings, progressCallback);
controllerGenerators.add(javaGenerator);
return javaGenerator;
}
示例13: calculateServiceImplGenerators
import org.mybatis.generator.codegen.AbstractGenerator; //导入依赖的package包/类
private AbstractGenerator calculateServiceImplGenerators(List<String> warnings, ProgressCallback progressCallback) {
AbstractJavaGenerator javaGenerator = new ServiceImplGenerator();
initializeAbstractGenerator(javaGenerator, warnings, progressCallback);
serviceImplGenerators.add(javaGenerator);
return javaGenerator;
}