Package | Description |
---|---|
org.mybatis.generator.api |
Provides the main classes and interfaces used by clients of MyBatis Generator.
|
org.mybatis.generator.api.dom | |
org.mybatis.generator.api.dom.java | |
org.mybatis.generator.api.dom.java.render | |
org.mybatis.generator.codegen | |
org.mybatis.generator.codegen.mybatis3.javamapper | |
org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider | |
org.mybatis.generator.internal | |
org.mybatis.generator.plugins | |
org.mybatis.generator.runtime.dynamic.sql |
Modifier and Type | Method and Description |
---|---|
default void |
CommentGenerator.addModelClassComment(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
Adds a comment for a model class.
|
default boolean |
Plugin.dynamicSqlSupportGenerated(TopLevelClass supportClass,
IntrospectedTable introspectedTable)
This method is called when the MyBatis Dynamic SQL support class has
been generated in the MyBatis Dynamic SQL runtime.
|
boolean |
CompositePlugin.dynamicSqlSupportGenerated(TopLevelClass supportClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the base record class is generated by the
JavaModelGenerator.
|
boolean |
CompositePlugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the example class is generated by the
JavaModelGenerator.
|
boolean |
CompositePlugin.modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.modelFieldGenerated(Field field,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType)
This method is called after the field is generated for a specific column
in a table.
|
boolean |
CompositePlugin.modelFieldGenerated(Field field,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType) |
default boolean |
Plugin.modelGetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType)
This method is called after the getter, or accessor, method is generated
for a specific column in a table.
|
boolean |
CompositePlugin.modelGetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType) |
default boolean |
Plugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the primary key class is generated by the
JavaModelGenerator.
|
boolean |
CompositePlugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the record with BLOBs class is generated by
the JavaModelGenerator.
|
boolean |
CompositePlugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.modelSetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType)
This method is called after the setter, or mutator, method is generated
for a specific column in a table.
|
boolean |
CompositePlugin.modelSetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType) |
default boolean |
Plugin.providerApplyWhereMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the applyWhere method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerApplyWhereMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the SQL provider has been generated.
|
boolean |
CompositePlugin.providerGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insertSelective method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the SQL provider.
|
boolean |
CompositePlugin.providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultJavaFormatter.visit(TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
R |
CompilationUnitVisitor.visit(TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
String |
TopLevelClassRenderer.render(TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractJavaGenerator.addDefaultConstructor(TopLevelClass topLevelClass) |
protected void |
AbstractJavaGenerator.addDefaultConstructorWithGeneratedAnnotatoin(TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
SqlProviderGenerator.addApplyWhereMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addCountByExampleMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addDeleteByExampleMethod(TopLevelClass topLevelClass) |
protected void |
SqlProviderGenerator.addInsertSelectiveMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addSelectByExampleWithBLOBsMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addSelectByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addUpdateByExampleSelectiveMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addUpdateByExampleWithBLOBsMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addUpdateByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass) |
protected void |
SqlProviderGenerator.addUpdateByPrimaryKeySelectiveMethod(TopLevelClass topLevelClass) |
protected void |
SqlProviderGenerator.initializeAndExecuteGenerator(AbstractJavaProviderMethodGenerator methodGenerator,
TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
void |
ProviderUpdateByPrimaryKeySelectiveMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderInsertSelectiveMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderDeleteByExampleMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderUpdateByExampleSelectiveMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderApplyWhereMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderUpdateByExampleWithoutBLOBsMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderCountByExampleMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
abstract void |
AbstractJavaProviderMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderSelectByExampleWithoutBLOBsMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
boolean |
ProviderSelectByExampleWithBLOBsMethodGenerator.callPlugins(Method method,
TopLevelClass topLevelClass) |
boolean |
ProviderUpdateByExampleWithBLOBsMethodGenerator.callPlugins(Method method,
TopLevelClass topLevelClass) |
boolean |
ProviderUpdateByExampleWithoutBLOBsMethodGenerator.callPlugins(Method method,
TopLevelClass topLevelClass) |
boolean |
ProviderSelectByExampleWithoutBLOBsMethodGenerator.callPlugins(Method method,
TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultCommentGenerator.addModelClassComment(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
Modifier and Type | Method and Description |
---|---|
protected void |
EqualsHashCodePlugin.generateEquals(TopLevelClass topLevelClass,
List<IntrospectedColumn> introspectedColumns,
IntrospectedTable introspectedTable)
Generates an
equals method that does a comparison of all fields. |
protected void |
EqualsHashCodePlugin.generateHashCode(TopLevelClass topLevelClass,
List<IntrospectedColumn> introspectedColumns,
IntrospectedTable introspectedTable)
Generates a
hashCode method that includes all fields. |
protected void |
SerializablePlugin.makeSerializable(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
ToStringPlugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
EqualsHashCodePlugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
SerializablePlugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
CaseInsensitiveLikePlugin.modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
ToStringPlugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
EqualsHashCodePlugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
SerializablePlugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
ToStringPlugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
EqualsHashCodePlugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
SerializablePlugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
FluentBuilderMethodsPlugin.modelSetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType) |
Modifier and Type | Method and Description |
---|---|
TopLevelClass |
DynamicSqlSupportClassGenerator.generate() |
protected TopLevelClass |
DynamicSqlMapperGenerator.getSupportClass() |
Copyright © 2006–2024 MyBatis.org. All rights reserved.