本文整理汇总了Java中org.mybatis.generator.codegen.AbstractJavaGenerator类的典型用法代码示例。如果您正苦于以下问题:Java AbstractJavaGenerator类的具体用法?Java AbstractJavaGenerator怎么用?Java AbstractJavaGenerator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AbstractJavaGenerator类属于org.mybatis.generator.codegen包,在下文中一共展示了AbstractJavaGenerator类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: calculateJavaModelGenerators
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
@Override
protected void calculateJavaModelGenerators(List<String> warnings,
ProgressCallback progressCallback) {
AbstractJavaGenerator javaGenerator = new SimpleModelGenerator();
initializeAbstractGenerator(javaGenerator, warnings,
progressCallback);
javaModelGenerators.add(javaGenerator);
}
示例2: IntrospectedTableMyBatis3Impl
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableMyBatis3Impl() {
super(TargetRuntime.MYBATIS3);
javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
clientGenerators = new ArrayList<AbstractJavaGenerator>();
serviceInterfaceGenerators = new ArrayList<AbstractJavaGenerator>();
voGenerators = new ArrayList<AbstractJavaGenerator>();
queryGenerators = new ArrayList<AbstractJavaGenerator>();
controllerGenerators = new ArrayList<AbstractJavaGenerator>();
serviceImplGenerators = new ArrayList<AbstractJavaGenerator>();
}
示例3: calculateJavaModelGenerators
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
protected void calculateJavaModelGenerators() {
AbstractJavaGenerator baseRecordGenerator = new BaseRecordGenerator();
initializeAbstractGenerator(baseRecordGenerator);
javaModelGenerators.add(baseRecordGenerator);
AbstractJavaGenerator recordGenerator = new RecordGenerator();
initializeAbstractGenerator(recordGenerator);
javaModelGenerators.add(recordGenerator);
AbstractJavaClientGenerator javaGenerator = new JavaMapperGenerator();
initializeAbstractGenerator(javaGenerator);
clientGenerators.add(javaGenerator);
}
示例4: IntrospectedTableIbatis2Java2Impl
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableIbatis2Java2Impl() {
super(TargetRuntime.IBATIS2);
javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
daoGenerators = new ArrayList<AbstractJavaGenerator>();
}
示例5: IntrospectedTableMyBatis3Impl
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
/**
* Instantiates a new introspected table my batis3 impl.
*/
public IntrospectedTableMyBatis3Impl() {
super(TargetRuntime.MYBATIS3);
javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
clientGenerators = new ArrayList<AbstractJavaGenerator>();
}
示例6: IntrospectedTableMyBatis3Impl
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableMyBatis3Impl() {
super(TargetRuntime.MYBATIS3);
javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
clientGenerators = new ArrayList<AbstractJavaGenerator>();
}
示例7: IntrospectedTableIbatis2Java2Impl
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableIbatis2Java2Impl() {
super(TargetRuntime.IBATIS2);
javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
daoGenerators = new ArrayList<AbstractJavaGenerator>();
}
示例8: IntrospectedTableMyBatis3Impl
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableMyBatis3Impl() {
super(TargetRuntime.MYBATIS3);
javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
clientGenerators = new ArrayList<AbstractJavaGenerator>();
}
示例9: calculateServiceInterfaceGenerators
import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的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.AbstractJavaGenerator; //导入依赖的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.AbstractJavaGenerator; //导入依赖的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.AbstractJavaGenerator; //导入依赖的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.AbstractJavaGenerator; //导入依赖的package包/类
private AbstractGenerator calculateServiceImplGenerators(List<String> warnings, ProgressCallback progressCallback) {
AbstractJavaGenerator javaGenerator = new ServiceImplGenerator();
initializeAbstractGenerator(javaGenerator, warnings, progressCallback);
serviceImplGenerators.add(javaGenerator);
return javaGenerator;
}