| 程序包 | 说明 |
|---|---|
| org.mybatis.generator.ant | |
| org.mybatis.generator.api |
Provides the main classes and interfaces used by clients of MyBatis Generator.
|
| org.mybatis.generator.codegen | |
| org.mybatis.generator.codegen.ibatis2 | |
| org.mybatis.generator.codegen.mybatis3 | |
| org.mybatis.generator.config | |
| org.mybatis.generator.internal |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AntProgressCallback
This callback logs progress messages with the Ant logger.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
VerboseProgressCallback |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
IntrospectedTable.calculateGenerators(List<String> warnings,
ProgressCallback progressCallback)
This method can be used to initialize the generators before they will be called.
|
void |
MyBatisGenerator.generate(ProgressCallback callback)
This is the main method for generating code.
|
void |
MyBatisGenerator.generate(ProgressCallback callback,
Set<String> contextIds)
This is the main method for generating code.
|
void |
MyBatisGenerator.generate(ProgressCallback callback,
Set<String> contextIds,
Set<String> fullyQualifiedTableNames)
This is the main method for generating code.
|
void |
MyBatisGenerator.generate(ProgressCallback callback,
Set<String> contextIds,
Set<String> fullyQualifiedTableNames,
boolean writeFiles)
This is the main method for generating code.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected ProgressCallback |
AbstractGenerator.progressCallback |
| 限定符和类型 | 方法和说明 |
|---|---|
ProgressCallback |
AbstractGenerator.getProgressCallback() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AbstractGenerator.setProgressCallback(ProgressCallback progressCallback) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
IntrospectedTableIbatis2Java2Impl.calculateDAOGenerators(List<String> warnings,
ProgressCallback progressCallback) |
void |
IntrospectedTableIbatis2Java2Impl.calculateGenerators(List<String> warnings,
ProgressCallback progressCallback) |
protected void |
IntrospectedTableIbatis2Java2Impl.calculateJavaModelGenerators(List<String> warnings,
ProgressCallback progressCallback) |
protected void |
IntrospectedTableIbatis2Java2Impl.calculateSqlMapGenerator(List<String> warnings,
ProgressCallback progressCallback) |
protected void |
IntrospectedTableIbatis2Java2Impl.initializeAbstractGenerator(AbstractGenerator abstractGenerator,
List<String> warnings,
ProgressCallback progressCallback) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected AbstractJavaClientGenerator |
IntrospectedTableMyBatis3Impl.calculateClientGenerators(List<String> warnings,
ProgressCallback progressCallback)
Calculate client generators.
|
void |
IntrospectedTableMyBatis3Impl.calculateGenerators(List<String> warnings,
ProgressCallback progressCallback) |
protected void |
IntrospectedTableMyBatis3SimpleImpl.calculateJavaModelGenerators(List<String> warnings,
ProgressCallback progressCallback) |
protected void |
IntrospectedTableMyBatis3Impl.calculateJavaModelGenerators(List<String> warnings,
ProgressCallback progressCallback)
Calculate java model generators.
|
protected void |
IntrospectedTableMyBatis3SimpleImpl.calculateXmlMapperGenerator(AbstractJavaClientGenerator javaClientGenerator,
List<String> warnings,
ProgressCallback progressCallback) |
protected void |
IntrospectedTableMyBatis3Impl.calculateXmlMapperGenerator(AbstractJavaClientGenerator javaClientGenerator,
List<String> warnings,
ProgressCallback progressCallback)
Calculate xml mapper generator.
|
protected void |
IntrospectedTableMyBatis3Impl.initializeAbstractGenerator(AbstractGenerator abstractGenerator,
List<String> warnings,
ProgressCallback progressCallback)
Initialize abstract generator.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Context.generateFiles(ProgressCallback callback,
List<GeneratedJavaFile> generatedJavaFiles,
List<GeneratedXmlFile> generatedXmlFiles,
List<String> warnings)
Generate files.
|
void |
Context.introspectTables(ProgressCallback callback,
List<String> warnings,
Set<String> fullyQualifiedTableNames)
Introspect tables based on the configuration specified in the
constructor.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
NullProgressCallback
This class implements a progress callback that does nothing.
|
Copyright © 2006–2016 MyBatis.org. All rights reserved.