类 BasePlugin
- java.lang.Object
-
- org.mybatis.generator.api.PluginAdapter
-
- pro.leaco.mybatis.generator.plugins.utils.BasePlugin
-
- 所有已实现的接口:
org.mybatis.generator.api.Plugin
- 直接已知子类:
BatchInsertPlugin,BuildWithUrlParamPlugin,CommentPlugin,ConstructorBasedBugFixPlugin,EnumTypeStatusPlugin,ExampleEnhancedPlugin,ExampleTargetPlugin,IncrementPlugin,LimitPlugin,LogicalDeletePlugin,LombokPlugin,MapperAnnotationPlugin,ModelBuilderPlugin,ModelCloneablePlugin,ModelColumnPlugin,OverwrittenMapperXmlPlugin,SelectiveEnhancedPlugin,SelectMapPlugin,SelectOneByExamplePlugin,SelectSelectivePlugin,TableRenameConfigurationPlugin,UpsertPlugin
public class BasePlugin extends org.mybatis.generator.api.PluginAdapter--------------------------------------------------------------------------- 基础plugin --------------------------------------------------------------------------- ---------------------------------------------------------------------------
-
-
字段概要
字段 修饰符和类型 字段 说明 protected org.mybatis.generator.api.CommentGeneratorcommentGeneratorprotected static org.slf4j.Loggerloggerprotected StringmybatisVersionstatic StringPRO_MYBATIS_VERSIONmybatis 版本protected List<String>warnings
-
构造器概要
构造器 构造器 说明 BasePlugin()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidinitialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)voidsetContext(org.mybatis.generator.config.Context context)Set the context under which this plugin is running.booleanvalidate(List<String> warnings)-
从类继承的方法 org.mybatis.generator.api.PluginAdapter
clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectListFieldGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, dynamicSqlSupportGenerated, getContext, getProperties, modelBaseRecordClassGenerated, modelExampleClassGenerated, modelFieldGenerated, modelGetterMethodGenerated, modelPrimaryKeyClassGenerated, modelRecordWithBLOBsClassGenerated, modelSetterMethodGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, setProperties, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapDocumentGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByExampleWithBLOBsElementGenerated, sqlMapSelectByExampleWithoutBLOBsElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated, sqlMapUpdateByExampleSelectiveElementGenerated, sqlMapUpdateByExampleWithBLOBsElementGenerated, sqlMapUpdateByExampleWithoutBLOBsElementGenerated, sqlMapUpdateByPrimaryKeySelectiveElementGenerated, sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.mybatis.generator.api.Plugin
clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientColumnListPropertyGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertMultipleVarargMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByPrimaryKeyMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalKotlinFiles, contextGenerateAdditionalKotlinFiles, dynamicSqlSupportGenerated, kotlinDataClassGenerated, mapperExtensionsGenerated, mapperGenerated
-
-
-
-
字段详细资料
-
logger
protected static final org.slf4j.Logger logger
-
commentGenerator
protected org.mybatis.generator.api.CommentGenerator commentGenerator
-
mybatisVersion
protected String mybatisVersion
-
-
方法详细资料
-
setContext
public void setContext(org.mybatis.generator.config.Context context)
Set the context under which this plugin is running.- 指定者:
setContext在接口中org.mybatis.generator.api.Plugin- 覆盖:
setContext在类中org.mybatis.generator.api.PluginAdapter- 参数:
context- the new context
-
initialized
public void initialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)
- 指定者:
initialized在接口中org.mybatis.generator.api.Plugin- 覆盖:
initialized在类中org.mybatis.generator.api.PluginAdapter- 参数:
introspectedTable-
-
-