当前位置: 首页>>代码示例>>Java>>正文


Java AbstractJavaGenerator类代码示例

本文整理汇总了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);
}
 
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:10,代码来源:IntrospectedTableMyBatis3SimpleImpl.java

示例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>();
}
 
开发者ID:nextyu,项目名称:summer-mybatis-generator,代码行数:11,代码来源:IntrospectedTableMyBatis3Impl.java

示例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);

}
 
开发者ID:funny5258,项目名称:autocode,代码行数:15,代码来源:IntrospectedTableMyBatis3Impl.java

示例4: IntrospectedTableIbatis2Java2Impl

import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableIbatis2Java2Impl() {
    super(TargetRuntime.IBATIS2);
    javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
    daoGenerators = new ArrayList<AbstractJavaGenerator>();
}
 
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:6,代码来源:IntrospectedTableIbatis2Java2Impl.java

示例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>();
}
 
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:9,代码来源:IntrospectedTableMyBatis3Impl.java

示例6: IntrospectedTableMyBatis3Impl

import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableMyBatis3Impl() {
    super(TargetRuntime.MYBATIS3);
    javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
    clientGenerators = new ArrayList<AbstractJavaGenerator>();
}
 
开发者ID:funny5258,项目名称:autocode,代码行数:6,代码来源:IntrospectedTableMyBatis3Impl.java

示例7: IntrospectedTableIbatis2Java2Impl

import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableIbatis2Java2Impl() {
	super(TargetRuntime.IBATIS2);
	javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
	daoGenerators = new ArrayList<AbstractJavaGenerator>();
}
 
开发者ID:handosme,项目名称:mybatis-generator-plus,代码行数:6,代码来源:IntrospectedTableIbatis2Java2Impl.java

示例8: IntrospectedTableMyBatis3Impl

import org.mybatis.generator.codegen.AbstractJavaGenerator; //导入依赖的package包/类
public IntrospectedTableMyBatis3Impl() {
	super(TargetRuntime.MYBATIS3);
	javaModelGenerators = new ArrayList<AbstractJavaGenerator>();
	clientGenerators = new ArrayList<AbstractJavaGenerator>();
}
 
开发者ID:handosme,项目名称:mybatis-generator-plus,代码行数:6,代码来源:IntrospectedTableMyBatis3Impl.java

示例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;
}
 
开发者ID:nextyu,项目名称:summer-mybatis-generator,代码行数:10,代码来源:IntrospectedTableMyBatis3Impl.java

示例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;
}
 
开发者ID:nextyu,项目名称:summer-mybatis-generator,代码行数:10,代码来源:IntrospectedTableMyBatis3Impl.java

示例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;
}
 
开发者ID:nextyu,项目名称:summer-mybatis-generator,代码行数:10,代码来源:IntrospectedTableMyBatis3Impl.java

示例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;
}
 
开发者ID:nextyu,项目名称:summer-mybatis-generator,代码行数:10,代码来源:IntrospectedTableMyBatis3Impl.java

示例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;
}
 
开发者ID:nextyu,项目名称:summer-mybatis-generator,代码行数:10,代码来源:IntrospectedTableMyBatis3Impl.java


注:本文中的org.mybatis.generator.codegen.AbstractJavaGenerator类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。