public abstract class CompositePlugin extends Object implements Plugin
Plugin.ModelClassType
Modifier | Constructor and Description |
---|---|
protected |
CompositePlugin() |
Modifier and Type | Method and Description |
---|---|
void |
addPlugin(Plugin plugin) |
boolean |
clientBasicInsertMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
This method is called when the insert function has been generated for the mapper interface.
|
boolean |
clientBasicInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated for the mapper interface.
|
boolean |
clientBasicInsertMultipleMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated for the mapper interface.
|
boolean |
clientBasicInsertMultipleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated for the mapper interface.
|
boolean |
clientBasicSelectManyMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientBasicSelectManyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectMany method has been generated for the mapper interface.
|
boolean |
clientBasicSelectOneMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientBasicSelectOneMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectOne method has been generated for the mapper interface.
|
boolean |
clientColumnListPropertyGenerated(KotlinProperty kotlinProperty,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientCountByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has been generated
in the client interface.
|
boolean |
clientDeleteByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has been generated
in the client interface.
|
boolean |
clientDeleteByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientDeleteByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey method has been
generated in the client interface.
|
boolean |
clientGeneralCountMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientGeneralCountMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general count method has been generated.
|
boolean |
clientGeneralDeleteMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientGeneralDeleteMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general delete method has been generated.
|
boolean |
clientGeneralSelectDistinctMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientGeneralSelectDistinctMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general select distinct method has been generated.
|
boolean |
clientGeneralSelectMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientGeneralSelectMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general select method has been generated.
|
boolean |
clientGeneralUpdateMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientGeneralUpdateMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the general update method has been generated.
|
boolean |
clientGenerated(Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the entire client has been generated.
|
boolean |
clientInsertMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated in the
client interface.
|
boolean |
clientInsertMultipleMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientInsertMultipleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated in the
client interface.
|
boolean |
clientInsertMultipleVarargMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientInsertSelectiveMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientInsertSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert selective method has been generated
in the client interface.
|
boolean |
clientSelectAllMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectAll method has been
generated in the client interface.
|
boolean |
clientSelectByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has been
generated in the client interface.
|
boolean |
clientSelectByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the client interface.
|
boolean |
clientSelectByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientSelectByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey method has been
generated in the client interface.
|
boolean |
clientSelectListFieldGenerated(Field field,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the selectList field is generated in a MyBatis Dynamic SQL V2 runtime.
|
boolean |
clientSelectOneMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientSelectOneMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the selectOne method is generated.
|
boolean |
clientUpdateAllColumnsMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientUpdateAllColumnsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the updateAllColumns method is generated.
|
boolean |
clientUpdateByExampleSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has been
generated in the client interface.
|
boolean |
clientUpdateByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has been
generated in the client interface.
|
boolean |
clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the client interface.
|
boolean |
clientUpdateByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientUpdateByPrimaryKeySelectiveMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the client interface.
|
boolean |
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs method has
been generated in the client interface.
|
boolean |
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs method has
been generated in the client interface.
|
boolean |
clientUpdateSelectiveColumnsMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientUpdateSelectiveColumnsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the updateSelectiveColumns method is generated.
|
List<GeneratedFile> |
contextGenerateAdditionalFiles() |
List<GeneratedFile> |
contextGenerateAdditionalFiles(IntrospectedTable introspectedTable) |
List<GeneratedJavaFile> |
contextGenerateAdditionalJavaFiles()
This method can be used to generate any additional Java file needed by
your implementation.
|
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.
|
List<GeneratedKotlinFile> |
contextGenerateAdditionalKotlinFiles() |
List<GeneratedKotlinFile> |
contextGenerateAdditionalKotlinFiles(IntrospectedTable introspectedTable) |
List<GeneratedXmlFile> |
contextGenerateAdditionalXmlFiles()
This method can be used to generate any additional XML file needed by
your implementation.
|
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.
|
boolean |
dynamicSqlSupportGenerated(KotlinFile kotlinFile,
KotlinType outerSupportObject,
KotlinType innerSupportClass,
IntrospectedTable introspectedTable)
This method is called when the MyBatis Dynamic SQL support object has been generated.
|
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.
|
void |
initialized(IntrospectedTable introspectedTable)
This method is called just before the getGeneratedXXXFiles methods are called on the introspected table.
|
boolean |
kotlinDataClassGenerated(KotlinFile kotlinFile,
KotlinType dataClass,
IntrospectedTable introspectedTable) |
boolean |
mapperGenerated(KotlinFile mapperFile,
KotlinType mapper,
IntrospectedTable introspectedTable) |
boolean |
modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the base record class is generated by the
JavaModelGenerator.
|
boolean |
modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the example class is generated by the
JavaModelGenerator.
|
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.
|
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.
|
boolean |
modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the primary key class is generated by the
JavaModelGenerator.
|
boolean |
modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the record with BLOBs class is generated by
the JavaModelGenerator.
|
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.
|
boolean |
providerApplyWhereMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the applyWhere method has
been generated in the SQL provider.
|
boolean |
providerCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has
been generated in the SQL provider.
|
boolean |
providerDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has
been generated in the SQL provider.
|
boolean |
providerGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the SQL provider has been generated.
|
boolean |
providerInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insertSelective method has
been generated in the SQL provider.
|
boolean |
providerSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has
been generated in the SQL provider.
|
boolean |
providerSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
boolean |
providerUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has
been generated in the SQL provider.
|
boolean |
providerUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has
been generated in the SQL provider.
|
boolean |
providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
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.
|
boolean |
sqlMapBaseColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the baseColumnList element is generated.
|
boolean |
sqlMapBlobColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the blobColumnList element is generated.
|
boolean |
sqlMapCountByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the countByExample element is generated.
|
boolean |
sqlMapDeleteByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample element is generated.
|
boolean |
sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey element is generated.
|
boolean |
sqlMapDocumentGenerated(Document document,
IntrospectedTable introspectedTable)
This method is called when the SqlMap document has been generated.
|
boolean |
sqlMapExampleWhereClauseElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the exampleWhereClause element is generated.
|
boolean |
sqlMapGenerated(GeneratedXmlFile sqlMap,
IntrospectedTable introspectedTable)
This method is called when the SqlMap file has been generated.
|
boolean |
sqlMapInsertElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the insert element is generated.
|
boolean |
sqlMapInsertSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the insert selective element is generated.
|
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.
|
boolean |
sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the base resultMap is generated.
|
boolean |
sqlMapSelectAllElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectAll element is generated.
|
boolean |
sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs element is
generated.
|
boolean |
sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByExample element is generated.
|
boolean |
sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey element is generated.
|
boolean |
sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective element is
generated.
|
boolean |
sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs element is
generated.
|
boolean |
sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithourBLOBs element is
generated.
|
boolean |
sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective element is
generated.
|
boolean |
sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs element is
generated.
|
boolean |
sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs element is
generated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clientBasicCountMethodGenerated, clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicUpdateMethodGenerated, clientBasicUpdateMethodGenerated, mapperExtensionsGenerated, validate
public void addPlugin(Plugin plugin)
public void setContext(Context context)
Plugin
setContext
in interface Plugin
context
- the new contextpublic void setProperties(Properties properties)
Plugin
setProperties
in interface Plugin
properties
- the new propertiespublic void initialized(IntrospectedTable introspectedTable)
Plugin
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.
initialized
in interface Plugin
introspectedTable
- the introspected tablepublic List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles()
Plugin
contextGenerateAdditionalJavaFiles
in interface Plugin
public List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles(IntrospectedTable introspectedTable)
Plugin
contextGenerateAdditionalJavaFiles
in interface Plugin
introspectedTable
- The class containing information about the table as
introspected from the databasepublic List<GeneratedKotlinFile> contextGenerateAdditionalKotlinFiles()
contextGenerateAdditionalKotlinFiles
in interface Plugin
public List<GeneratedKotlinFile> contextGenerateAdditionalKotlinFiles(IntrospectedTable introspectedTable)
contextGenerateAdditionalKotlinFiles
in interface Plugin
public List<GeneratedFile> contextGenerateAdditionalFiles()
contextGenerateAdditionalFiles
in interface Plugin
public List<GeneratedFile> contextGenerateAdditionalFiles(IntrospectedTable introspectedTable)
contextGenerateAdditionalFiles
in interface Plugin
public List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles()
Plugin
contextGenerateAdditionalXmlFiles
in interface Plugin
public List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles(IntrospectedTable introspectedTable)
Plugin
contextGenerateAdditionalXmlFiles
in interface Plugin
introspectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientGenerated(Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientGenerated
in interface Plugin
interfaze
- the generated interface if any, may be nullintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientBasicInsertMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientBasicInsertMethodGenerated
in interface Plugin
method
- the generated insert methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicInsertMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
Plugin
clientBasicInsertMethodGenerated
in interface Plugin
kotlinFunction
- the generated insert functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicInsertMultipleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientBasicInsertMultipleMethodGenerated
in interface Plugin
method
- the generated insert methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicInsertMultipleMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
Plugin
clientBasicInsertMultipleMethodGenerated
in interface Plugin
kotlinFunction
- the generated insert functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicSelectManyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientBasicSelectManyMethodGenerated
in interface Plugin
method
- the generated selectMany methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicSelectManyMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientBasicSelectManyMethodGenerated
in interface Plugin
public boolean clientBasicSelectOneMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientBasicSelectOneMethodGenerated
in interface Plugin
method
- the generated selectOne methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicSelectOneMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientBasicSelectOneMethodGenerated
in interface Plugin
public boolean clientCountByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientCountByExampleMethodGenerated
in interface Plugin
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 databasepublic boolean clientDeleteByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientDeleteByExampleMethodGenerated
in interface Plugin
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 databasepublic boolean clientDeleteByPrimaryKeyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientDeleteByPrimaryKeyMethodGenerated
in interface Plugin
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 databasepublic boolean clientDeleteByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientDeleteByPrimaryKeyMethodGenerated
in interface Plugin
public boolean clientGeneralCountMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientGeneralCountMethodGenerated
in interface Plugin
method
- the generated general count methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientGeneralCountMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientGeneralCountMethodGenerated
in interface Plugin
public boolean clientGeneralDeleteMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientGeneralDeleteMethodGenerated
in interface Plugin
method
- the generated general delete methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientGeneralDeleteMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientGeneralDeleteMethodGenerated
in interface Plugin
public boolean clientGeneralSelectDistinctMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientGeneralSelectDistinctMethodGenerated
in interface Plugin
method
- the generated general select distinct methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientGeneralSelectDistinctMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientGeneralSelectDistinctMethodGenerated
in interface Plugin
public boolean clientGeneralSelectMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientGeneralSelectMethodGenerated
in interface Plugin
method
- the generated general select methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientGeneralSelectMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientGeneralSelectMethodGenerated
in interface Plugin
public boolean clientGeneralUpdateMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientGeneralUpdateMethodGenerated
in interface Plugin
method
- the generated general update methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientGeneralUpdateMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientGeneralUpdateMethodGenerated
in interface Plugin
public boolean clientInsertMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientInsertMethodGenerated
in interface Plugin
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 databasepublic boolean clientInsertMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientInsertMethodGenerated
in interface Plugin
public boolean clientInsertMultipleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientInsertMultipleMethodGenerated
in interface Plugin
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 databasepublic boolean clientInsertMultipleMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientInsertMultipleMethodGenerated
in interface Plugin
public boolean clientInsertSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientInsertSelectiveMethodGenerated
in interface Plugin
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 databasepublic boolean clientInsertSelectiveMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientInsertSelectiveMethodGenerated
in interface Plugin
public boolean clientSelectByExampleWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientSelectByExampleWithBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean clientSelectByExampleWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientSelectByExampleWithoutBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean clientSelectByPrimaryKeyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientSelectByPrimaryKeyMethodGenerated
in interface Plugin
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 databasepublic boolean clientSelectByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientSelectByPrimaryKeyMethodGenerated
in interface Plugin
public boolean clientSelectListFieldGenerated(Field field, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientSelectListFieldGenerated
in interface Plugin
field
- the generated selectList fieldinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientSelectOneMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientSelectOneMethodGenerated
in interface Plugin
method
- the generated selectOne methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientSelectOneMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientSelectOneMethodGenerated
in interface Plugin
public boolean clientUpdateByExampleSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientUpdateByExampleSelectiveMethodGenerated
in interface Plugin
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 databasepublic boolean clientUpdateAllColumnsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientUpdateAllColumnsMethodGenerated
in interface Plugin
method
- the generated updateAllColumns methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientUpdateAllColumnsMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientUpdateAllColumnsMethodGenerated
in interface Plugin
public boolean clientUpdateSelectiveColumnsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientUpdateSelectiveColumnsMethodGenerated
in interface Plugin
method
- the generated updateSelectiveColumns methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientUpdateSelectiveColumnsMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientUpdateSelectiveColumnsMethodGenerated
in interface Plugin
public boolean clientUpdateByExampleWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientUpdateByExampleWithBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientUpdateByExampleWithoutBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientUpdateByPrimaryKeySelectiveMethodGenerated
in interface Plugin
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 databasepublic boolean clientUpdateByPrimaryKeySelectiveMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientUpdateByPrimaryKeySelectiveMethodGenerated
in interface Plugin
public boolean clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean clientSelectAllMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
clientSelectAllMethodGenerated
in interface Plugin
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 databasepublic boolean modelFieldGenerated(Field field, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
Plugin
modelFieldGenerated
in interface Plugin
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 forpublic boolean modelGetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
Plugin
modelGetterMethodGenerated
in interface Plugin
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 forpublic boolean modelSetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
Plugin
modelSetterMethodGenerated
in interface Plugin
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 forpublic boolean modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
modelPrimaryKeyClassGenerated
in interface Plugin
topLevelClass
- the generated primary key classintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean modelBaseRecordClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
modelBaseRecordClassGenerated
in interface Plugin
topLevelClass
- the generated base record classintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
modelRecordWithBLOBsClassGenerated
in interface Plugin
topLevelClass
- the generated record with BLOBs classintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean modelExampleClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
modelExampleClassGenerated
in interface Plugin
topLevelClass
- the generated example classintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapGenerated(GeneratedXmlFile sqlMap, IntrospectedTable introspectedTable)
Plugin
sqlMapGenerated
in interface Plugin
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 databasepublic boolean sqlMapDocumentGenerated(Document document, IntrospectedTable introspectedTable)
Plugin
sqlMapDocumentGenerated
in interface Plugin
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.public boolean sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapResultMapWithoutBLOBsElementGenerated
in interface Plugin
element
- the generated <resultMap> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapCountByExampleElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapCountByExampleElementGenerated
in interface Plugin
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapDeleteByExampleElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapDeleteByExampleElementGenerated
in interface Plugin
element
- the generated <delete> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapDeleteByPrimaryKeyElementGenerated
in interface Plugin
element
- the generated <delete> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapExampleWhereClauseElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapExampleWhereClauseElementGenerated
in interface Plugin
element
- the generated <sql> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapBaseColumnListElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapBaseColumnListElementGenerated
in interface Plugin
element
- the generated <sql> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapBlobColumnListElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapBlobColumnListElementGenerated
in interface Plugin
element
- the generated <sql> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapInsertElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapInsertElementGenerated
in interface Plugin
element
- the generated <insert> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapInsertSelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapInsertSelectiveElementGenerated
in interface Plugin
element
- the generated <insert> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapResultMapWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapResultMapWithBLOBsElementGenerated
in interface Plugin
element
- the generated <resultMap> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapSelectAllElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapSelectAllElementGenerated
in interface Plugin
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapSelectByPrimaryKeyElementGenerated
in interface Plugin
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapSelectByExampleWithoutBLOBsElementGenerated
in interface Plugin
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapSelectByExampleWithBLOBsElementGenerated
in interface Plugin
element
- the generated <select> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapUpdateByExampleSelectiveElementGenerated
in interface Plugin
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapUpdateByExampleWithBLOBsElementGenerated
in interface Plugin
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapUpdateByExampleWithoutBLOBsElementGenerated
in interface Plugin
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapUpdateByPrimaryKeySelectiveElementGenerated
in interface Plugin
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated
in interface Plugin
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
Plugin
sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated
in interface Plugin
element
- the generated <update> elementintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean providerGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerGenerated
in interface Plugin
topLevelClass
- the generated providerintrospectedTable
- The class containing information about the table as
introspected from the databasepublic boolean providerApplyWhereMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerApplyWhereMethodGenerated
in interface Plugin
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 databasepublic boolean providerCountByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerCountByExampleMethodGenerated
in interface Plugin
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 databasepublic boolean providerDeleteByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerDeleteByExampleMethodGenerated
in interface Plugin
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 databasepublic boolean providerInsertSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerInsertSelectiveMethodGenerated
in interface Plugin
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 databasepublic boolean providerSelectByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerSelectByExampleWithBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean providerSelectByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerSelectByExampleWithoutBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean providerUpdateByExampleSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerUpdateByExampleSelectiveMethodGenerated
in interface Plugin
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 databasepublic boolean providerUpdateByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerUpdateByExampleWithBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerUpdateByExampleWithoutBLOBsMethodGenerated
in interface Plugin
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 databasepublic boolean providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
Plugin
providerUpdateByPrimaryKeySelectiveMethodGenerated
in interface Plugin
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 databasepublic boolean dynamicSqlSupportGenerated(TopLevelClass supportClass, IntrospectedTable introspectedTable)
Plugin
dynamicSqlSupportGenerated
in interface Plugin
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 databasepublic boolean dynamicSqlSupportGenerated(KotlinFile kotlinFile, KotlinType outerSupportObject, KotlinType innerSupportClass, IntrospectedTable introspectedTable)
Plugin
dynamicSqlSupportGenerated
in interface Plugin
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 databasepublic boolean mapperGenerated(KotlinFile mapperFile, KotlinType mapper, IntrospectedTable introspectedTable)
mapperGenerated
in interface Plugin
public boolean kotlinDataClassGenerated(KotlinFile kotlinFile, KotlinType dataClass, IntrospectedTable introspectedTable)
kotlinDataClassGenerated
in interface Plugin
public boolean clientColumnListPropertyGenerated(KotlinProperty kotlinProperty, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientColumnListPropertyGenerated
in interface Plugin
public boolean clientInsertMultipleVarargMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientInsertMultipleVarargMethodGenerated
in interface Plugin
public boolean clientUpdateByPrimaryKeyMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
clientUpdateByPrimaryKeyMethodGenerated
in interface Plugin
Copyright © 2006–2024 MyBatis.org. All rights reserved.