Class MyBatisSimpleModelXmlContextGenerator
- java.lang.Object
-
- pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.AbstractCommonContextGenerator
-
- pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.MyBatisSimpleModelXmlContextGenerator
-
- All Implemented Interfaces:
ContextGenerator
public class MyBatisSimpleModelXmlContextGenerator extends AbstractCommonContextGenerator
The Mybatis simple context generator.- Version:
- 1.0.0
- Author:
- Gang Cheng
-
-
Constructor Summary
Constructors Constructor Description MyBatisSimpleModelXmlContextGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureJavaClientGenerator(org.mybatis.generator.config.Context context, GeneratorProperties generatorProperties)configure java client generatorprotected org.mybatis.generator.config.ContextnewContext()new contextGeneratorTypetargetGeneratorType()generator type-
Methods inherited from class pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.AbstractCommonContextGenerator
configureGeneratorPlugin, configureJavaType, configureJDBCConnection, configureModelGenerator, configureSqlMapGenerator, configureTable, determineGenerateComment, generateContext
-
-
-
-
Method Detail
-
targetGeneratorType
public GeneratorType targetGeneratorType()
Description copied from interface:ContextGeneratorgenerator type- Returns:
- generator type
-
newContext
protected org.mybatis.generator.config.Context newContext()
Description copied from class:AbstractCommonContextGeneratornew context- Specified by:
newContextin classAbstractCommonContextGenerator- Returns:
- the context
-
configureJavaClientGenerator
protected void configureJavaClientGenerator(org.mybatis.generator.config.Context context, GeneratorProperties generatorProperties)Description copied from class:AbstractCommonContextGeneratorconfigure java client generator- Overrides:
configureJavaClientGeneratorin classAbstractCommonContextGenerator- Parameters:
context- the ContextgeneratorProperties- the generator properties
-
-