public interface Plugin
Plugins have a lifecycle. In general, the lifecycle is this:
Plugins are related to contexts - so each context will have its own set of plugins. If the same plugin is specified in multiple contexts, then each context will hold a unique instance of the plugin.
Plugins are called, and initialized, in the same order they are specified in the configuration.
The clientXXX, modelXXX, and sqlMapXXX methods are called by the code generators. If you replace the default code generators with other implementations, these methods may not be called.
PluginAdapter
Modifier and Type | Interface and Description |
---|---|
static class |
Plugin.ModelClassType |
Modifier and Type | Method and Description |
---|---|
default boolean |
clientBasicCountMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
Deprecated.
this method is no longer called
|
default boolean |
clientBasicCountMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Deprecated.
this method is no longer called
|
default boolean |
clientBasicDeleteMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
Deprecated.
No longer called
|
default boolean |
clientBasicDeleteMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Deprecated.
No longer called
|
default boolean |
clientBasicInsertMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
This method is called when the insert function has been generated for the mapper interface.
|
default boolean |
clientBasicInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated for the mapper interface.
|
default boolean |
clientBasicInsertMultipleHelperMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
Deprecated.
this method is no longer called
|
default boolean |
clientBasicInsertMultipleHelperMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Deprecated.
this method is no longer called
|
default boolean |
clientBasicInsertMultipleMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated for the mapper interface.
|
default boolean |
clientBasicInsertMultipleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated for the mapper interface.
|
default boolean |
clientBasicSelectManyMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientBasicSelectManyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectMany method has been generated for the mapper interface.
|
default boolean |
clientBasicSelectOneMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientBasicSelectOneMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectOne method has been generated for the mapper interface.
|
default boolean |
clientBasicUpdateMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
Deprecated.
no longer called
|
default boolean |
clientBasicUpdateMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Deprecated.
no longer called
|
default boolean |
clientColumnListPropertyGenerated(KotlinProperty kotlinProperty,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientCountByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has been generated
in the client interface.
|
default boolean |
clientDeleteByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has been generated
in the client interface.
|
default boolean |
clientDeleteByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientDeleteByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey method has been
generated in the client interface.
|
default boolean |
clientGeneralCountMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientGeneralCountMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general count method has been generated.
|
default boolean |
clientGeneralDeleteMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientGeneralDeleteMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general delete method has been generated.
|
default boolean |
clientGeneralSelectDistinctMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientGeneralSelectDistinctMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general select distinct method has been generated.
|
default boolean |
clientGeneralSelectMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientGeneralSelectMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general select method has been generated.
|
default boolean |
clientGeneralUpdateMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientGeneralUpdateMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general update method has been generated.
|
default boolean |
clientGenerated(Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the entire client has been generated.
|
default boolean |
clientInsertMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated in the
client interface.
|
default boolean |
clientInsertMultipleMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientInsertMultipleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated in the
client interface.
|
default boolean |
clientInsertMultipleVarargMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientInsertSelectiveMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientInsertSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert selective method has been generated
in the client interface.
|
default boolean |
clientSelectAllMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectAll method has been
generated in the client interface.
|
default boolean |
clientSelectByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has been
generated in the client interface.
|
default boolean |
clientSelectByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the client interface.
|
default boolean |
clientSelectByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientSelectByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey method has been
generated in the client interface.
|
default boolean |
clientSelectListFieldGenerated(Field field,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the selectList field is generated in a MyBatis Dynamic SQL V2 runtime.
|
default boolean |
clientSelectOneMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientSelectOneMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the selectOne method is generated.
|
default boolean |
clientUpdateAllColumnsMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientUpdateAllColumnsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the updateAllColumns method is generated.
|
default boolean |
clientUpdateByExampleSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has been
generated in the client interface.
|
default boolean |
clientUpdateByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has been
generated in the client interface.
|
default boolean |
clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the client interface.
|
default boolean |
clientUpdateByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientUpdateByPrimaryKeySelectiveMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the client interface.
|
default boolean |
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs method has
been generated in the client interface.
|
default boolean |
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs method has
been generated in the client interface.
|
default boolean |
clientUpdateSelectiveColumnsMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
default boolean |
clientUpdateSelectiveColumnsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the updateSelectiveColumns method is generated.
|
default List<GeneratedFile> |
contextGenerateAdditionalFiles() |
default List<GeneratedFile> |
contextGenerateAdditionalFiles(IntrospectedTable introspectedTable) |
default List<GeneratedJavaFile> |
contextGenerateAdditionalJavaFiles()
This method can be used to generate any additional Java file needed by
your implementation.
|
default List<GeneratedJavaFile> |
contextGenerateAdditionalJavaFiles(IntrospectedTable introspectedTable)
This method can be used to generate additional Java files needed by your
implementation that might be related to a specific table.
|
default List<GeneratedKotlinFile> |
contextGenerateAdditionalKotlinFiles() |
default List<GeneratedKotlinFile> |
contextGenerateAdditionalKotlinFiles(IntrospectedTable introspectedTable) |
default List<GeneratedXmlFile> |
contextGenerateAdditionalXmlFiles()
This method can be used to generate any additional XML file needed by
your implementation.
|
default List<GeneratedXmlFile> |
contextGenerateAdditionalXmlFiles(IntrospectedTable introspectedTable)
This method can be used to generate additional XML files needed by your
implementation that might be related to a specific table.
|
default boolean |
dynamicSqlSupportGenerated(KotlinFile kotlinFile,
KotlinType outerSupportObject,
KotlinType innerSupportClass,
IntrospectedTable introspectedTable)
This method is called when the MyBatis Dynamic SQL support object has been generated.
|
default boolean |
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.
|
default void |
initialized(IntrospectedTable introspectedTable)
This method is called just before the getGeneratedXXXFiles methods are called on the introspected table.
|
default boolean |
kotlinDataClassGenerated(KotlinFile kotlinFile,
KotlinType dataClass,
IntrospectedTable introspectedTable) |
default boolean |
mapperExtensionsGenerated(KotlinFile extensionsFile,
IntrospectedTable introspectedTable)
Deprecated.
this method is no longer called
|
default boolean |
mapperGenerated(KotlinFile mapperFile,
KotlinType mapper,
IntrospectedTable introspectedTable) |
default boolean |
modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the base record class is generated by the
JavaModelGenerator.
|
default boolean |
modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the example class is generated by the
JavaModelGenerator.
|
default boolean |
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.
|
default boolean |
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.
|
default boolean |
modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the primary key class is generated by the
JavaModelGenerator.
|
default boolean |
modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the record with BLOBs class is generated by
the JavaModelGenerator.
|
default boolean |
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.
|
default boolean |
providerApplyWhereMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the applyWhere method has
been generated in the SQL provider.
|
default boolean |
providerCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has
been generated in the SQL provider.
|
default boolean |
providerDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has
been generated in the SQL provider.
|
default boolean |
providerGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the SQL provider has been generated.
|
default boolean |
providerInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insertSelective method has
been generated in the SQL provider.
|
default boolean |
providerSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has
been generated in the SQL provider.
|
default boolean |
providerSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
default boolean |
providerUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has
been generated in the SQL provider.
|
default boolean |
providerUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has
been generated in the SQL provider.
|
default boolean |
providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
default boolean |
providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the SQL provider.
|
void |
setContext(Context context)
Set the context under which this plugin is running.
|
void |
setProperties(Properties properties)
Set properties from the plugin configuration.
|
default boolean |
sqlMapBaseColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the baseColumnList element is generated.
|
default boolean |
sqlMapBlobColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the blobColumnList element is generated.
|
default boolean |
sqlMapCountByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the countByExample element is generated.
|
default boolean |
sqlMapDeleteByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample element is generated.
|
default boolean |
sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey element is generated.
|
default boolean |
sqlMapDocumentGenerated(Document document,
IntrospectedTable introspectedTable)
This method is called when the SqlMap document has been generated.
|
default boolean |
sqlMapExampleWhereClauseElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the exampleWhereClause element is generated.
|
default boolean |
sqlMapGenerated(GeneratedXmlFile sqlMap,
IntrospectedTable introspectedTable)
This method is called when the SqlMap file has been generated.
|
default boolean |
sqlMapInsertElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the insert element is generated.
|
default boolean |
sqlMapInsertSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the insert selective element is generated.
|
default boolean |
sqlMapResultMapWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the resultMap with BLOBs element is generated
- this resultMap will extend the base resultMap.
|
default boolean |
sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the base resultMap is generated.
|
default boolean |
sqlMapSelectAllElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectAll element is generated.
|
default boolean |
sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs element is
generated.
|
default boolean |
sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByExample element is generated.
|
default boolean |
sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey element is generated.
|
default boolean |
sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective element is
generated.
|
default boolean |
sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs element is
generated.
|
default boolean |
sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithourBLOBs element is
generated.
|
default boolean |
sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective element is
generated.
|
default boolean |
sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs element is
generated.
|
default boolean |
sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs element is
generated.
|
boolean |
validate(List<String> warnings)
This method is called after all the setXXX methods are called, but before
any other method is called.
|
void setContext(Context context)
context
- the new contextvoid setProperties(Properties properties)
properties
- the new propertiesdefault void initialized(IntrospectedTable introspectedTable)
A good example of overriding an attribute would be the case where a user wanted to change the name of one of the generated classes, change the target package, or change the name of the generated SQL map file.
Warning: Anything that is listed as an attribute should not be changed by one of the other plugin
methods. For example, if you want to change the name of a generated example class, you should not simply change
the Type in the modelExampleClassGenerated()
method. If you do, the change will not be reflected
in other generated artifacts.
introspectedTable
- the introspected tableboolean validate(List<String> warnings)
warnings
- add strings to this list to specify warnings. For example, if
the plugin is invalid, you should specify why. Warnings are
reported to users after the completion of the run.default List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles()
default List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles(IntrospectedTable introspectedTable)
introspectedTable
- The class containing information about the table as
introspected from the databasedefault List<GeneratedKotlinFile> contextGenerateAdditionalKotlinFiles()
default List<GeneratedKotlinFile> contextGenerateAdditionalKotlinFiles(IntrospectedTable introspectedTable)
default List<GeneratedFile> contextGenerateAdditionalFiles()
default List<GeneratedFile> contextGenerateAdditionalFiles(IntrospectedTable introspectedTable)
default List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles()
default List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles(IntrospectedTable introspectedTable)
introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientGenerated(Interface interfaze, IntrospectedTable introspectedTable)
interfaze
- the generated interface if any, may be nullintrospectedTable
- The class containing information about the table as
introspected from the database@Deprecated default boolean clientBasicCountMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated count methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the database@Deprecated default boolean clientBasicCountMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
kotlinFunction
- the generated functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the database@Deprecated default boolean clientBasicDeleteMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated delete methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the database@Deprecated default boolean clientBasicDeleteMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
kotlinFunction
- the generated delete functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the databasedefault boolean clientBasicInsertMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated insert methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasedefault boolean clientBasicInsertMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
kotlinFunction
- the generated insert functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the databasedefault boolean clientBasicInsertMultipleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated insert methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasedefault boolean clientBasicInsertMultipleMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
kotlinFunction
- the generated insert functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the database@Deprecated default boolean clientBasicInsertMultipleHelperMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated insert methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the database@Deprecated default boolean clientBasicInsertMultipleHelperMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
kotlinFunction
- generated functionkotlinFile
- generated fileintrospectedTable
- introspected tabledefault boolean clientBasicSelectManyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectMany methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasedefault boolean clientBasicSelectManyMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientBasicSelectOneMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectOne methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasedefault boolean clientBasicSelectOneMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
@Deprecated default boolean clientBasicUpdateMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated update methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the database@Deprecated default boolean clientBasicUpdateMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
kotlinFunction
- the generated update functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the databasedefault boolean clientCountByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated countByExample methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientDeleteByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated deleteByExample methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientDeleteByPrimaryKeyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated deleteByPrimaryKey methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientDeleteByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientGeneralCountMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated general count methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientGeneralCountMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientGeneralDeleteMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated general delete methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientGeneralDeleteMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientGeneralSelectDistinctMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated general select distinct methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientGeneralSelectDistinctMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientGeneralSelectMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated general select methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientGeneralSelectMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientGeneralUpdateMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated general update methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientGeneralUpdateMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientInsertMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated insert methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientInsertMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientInsertMultipleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated insert multiple methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientInsertMultipleMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientInsertSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated insert methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientInsertSelectiveMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientSelectByExampleWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectByExampleWithBLOBs methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientSelectByExampleWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectByExampleWithoutBLOBs methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientSelectByPrimaryKeyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectByPrimaryKey methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientSelectByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientSelectListFieldGenerated(Field field, Interface interfaze, IntrospectedTable introspectedTable)
field
- the generated selectList fieldinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientSelectOneMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectOne methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientSelectOneMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientUpdateByExampleSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByExampleSelective methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientUpdateAllColumnsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateAllColumns methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientUpdateAllColumnsMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientUpdateSelectiveColumnsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateSelectiveColumns methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientUpdateSelectiveColumnsMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientUpdateByExampleWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByExampleWithBLOBs methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByExampleWithoutBLOBs methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeySelective methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientUpdateByPrimaryKeySelectiveMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeyWithBLOBs methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeyWithoutBLOBs methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean clientSelectAllMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectAll methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean modelFieldGenerated(Field field, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
field
- the field generated for the specified columntopLevelClass
- the partially implemented model class. You can add additional
imported classes to the implementation class if necessary.introspectedColumn
- The class containing information about the column related
to this field as introspected from the databaseintrospectedTable
- The class containing information about the table as
introspected from the databasemodelClassType
- the type of class that the field is generated fordefault boolean modelGetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
method
- the getter, or accessor, method generated for the specified
columntopLevelClass
- the partially implemented model class. You can add additional
imported classes to the implementation class if necessary.introspectedColumn
- The class containing information about the column related
to this field as introspected from the databaseintrospectedTable
- The class containing information about the table as
introspected from the databasemodelClassType
- the type of class that the field is generated fordefault boolean modelSetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
method
- the setter, or mutator, method generated for the specified
columntopLevelClass
- the partially implemented model class. You can add additional
imported classes to the implementation class if necessary.introspectedColumn
- The class containing information about the column related
to this field as introspected from the databaseintrospectedTable
- The class containing information about the table as
introspected from the databasemodelClassType
- the type of class that the field is generated fordefault boolean modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated primary key classintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean modelBaseRecordClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated base record classintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated record with BLOBs classintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean modelExampleClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated example classintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapGenerated(GeneratedXmlFile sqlMap, IntrospectedTable introspectedTable)
sqlMap
- the generated file (containing the file name, package name,
and project name)introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapDocumentGenerated(Document document, IntrospectedTable introspectedTable)
document
- the generated document (note that this is the MyBatis generator's internal
Document class - not the w3c XML Document class)introspectedTable
- The class containing information about the table as
introspected from the databasesqlMapGenerated
method will not be called.default boolean sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <resultMap> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapCountByExampleElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapDeleteByExampleElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <delete> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <delete> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapExampleWhereClauseElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <sql> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapBaseColumnListElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <sql> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapBlobColumnListElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <sql> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapInsertElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <insert> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapInsertSelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <insert> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapResultMapWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <resultMap> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapSelectAllElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated providerintrospectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerApplyWhereMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated applyWhere methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerCountByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated countByExample methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerDeleteByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated deleteByExample methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerInsertSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated insertSelective methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerSelectByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated selectByExampleWithBLOBs methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerSelectByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated selectByExampleWithoutBLOBs methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerUpdateByExampleSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByExampleSelective methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerUpdateByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByExampleWithBLOBs methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByExampleWithoutBLOBs methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeySelective methodtopLevelClass
- the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean dynamicSqlSupportGenerated(TopLevelClass supportClass, IntrospectedTable introspectedTable)
supportClass
- the generated MyBatis Dynamic SQL support class
You can add additional items to the generated class
if necessary.introspectedTable
- The class containing information about the table as
introspected from the databasedefault boolean dynamicSqlSupportGenerated(KotlinFile kotlinFile, KotlinType outerSupportObject, KotlinType innerSupportClass, IntrospectedTable introspectedTable)
kotlinFile
- the generated Kotlin file containing the outer object and inner classouterSupportObject
- a reference to the outer object in the fileinnerSupportClass
- a reference to the inner classintrospectedTable
- the class containing information about the table as
introspected from the database@Deprecated default boolean mapperExtensionsGenerated(KotlinFile extensionsFile, IntrospectedTable introspectedTable)
extensionsFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the databasedefault boolean mapperGenerated(KotlinFile mapperFile, KotlinType mapper, IntrospectedTable introspectedTable)
default boolean kotlinDataClassGenerated(KotlinFile kotlinFile, KotlinType dataClass, IntrospectedTable introspectedTable)
default boolean clientColumnListPropertyGenerated(KotlinProperty kotlinProperty, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientInsertMultipleVarargMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
default boolean clientUpdateByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
Copyright © 2006–2024 MyBatis.org. All rights reserved.