类 EntityEnhancedPlugin
java.lang.Object
org.mybatis.generator.api.PluginAdapter
net.entframework.kernel.db.generator.plugin.server.EntityEnhancedPlugin
- 所有已实现的接口:
org.mybatis.generator.api.Plugin
public class EntityEnhancedPlugin
extends org.mybatis.generator.api.PluginAdapter
生成的java model 添加lombok 注解
-
嵌套类概要
从接口继承的嵌套类/接口 org.mybatis.generator.api.Plugin
org.mybatis.generator.api.Plugin.ModelClassType -
字段概要
从类继承的字段 org.mybatis.generator.api.PluginAdapter
context, properties -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleandynamicSqlSupportGenerated(org.mybatis.generator.api.dom.java.TopLevelClass supportClass, org.mybatis.generator.api.IntrospectedTable introspectedTable) voidinitialized(org.mybatis.generator.api.IntrospectedTable introspectedTable) booleanmodelBaseRecordClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable) Intercepts base record class generationbooleanmodelFieldGenerated(org.mybatis.generator.api.dom.java.Field field, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType) booleanmodelGetterMethodGenerated(org.mybatis.generator.api.dom.java.Method method, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType) Prevents all getters from being generated.booleanmodelPrimaryKeyClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable) Intercepts primary key class generationbooleanmodelRecordWithBLOBsClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable) Intercepts "record with blob" class generationbooleanmodelSetterMethodGenerated(org.mybatis.generator.api.dom.java.Method method, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType) Prevents all setters from being generatedboolean从类继承的方法 org.mybatis.generator.api.PluginAdapter
getOutputDirectory, setContext, setProperties从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.mybatis.generator.api.Plugin
clientBasicCountMethodGenerated, clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientBasicUpdateMethodGenerated, clientColumnListPropertyGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientGeneralUpdateMethodGenerated, clientGenerated, clientInsertMethodGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertMultipleVarargMethodGenerated, clientInsertSelectiveMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectListFieldGenerated, clientSelectOneMethodGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeyMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalFiles, contextGenerateAdditionalFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalKotlinFiles, contextGenerateAdditionalKotlinFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, dynamicSqlSupportGenerated, kotlinDataClassGenerated, mapperExtensionsGenerated, mapperGenerated, modelExampleClassGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapDocumentGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByExampleWithBLOBsElementGenerated, sqlMapSelectByExampleWithoutBLOBsElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated, sqlMapUpdateByExampleSelectiveElementGenerated, sqlMapUpdateByExampleWithBLOBsElementGenerated, sqlMapUpdateByExampleWithoutBLOBsElementGenerated, sqlMapUpdateByPrimaryKeySelectiveElementGenerated, sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated
-
构造器详细资料
-
EntityEnhancedPlugin
public EntityEnhancedPlugin()
-
-
方法详细资料
-
validate
-
modelBaseRecordClassGenerated
public boolean modelBaseRecordClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable) Intercepts base record class generation -
modelPrimaryKeyClassGenerated
public boolean modelPrimaryKeyClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable) Intercepts primary key class generation -
modelRecordWithBLOBsClassGenerated
public boolean modelRecordWithBLOBsClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable) Intercepts "record with blob" class generation -
modelGetterMethodGenerated
public boolean modelGetterMethodGenerated(org.mybatis.generator.api.dom.java.Method method, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType) Prevents all getters from being generated. -
modelSetterMethodGenerated
public boolean modelSetterMethodGenerated(org.mybatis.generator.api.dom.java.Method method, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType) Prevents all setters from being generated -
modelFieldGenerated
public boolean modelFieldGenerated(org.mybatis.generator.api.dom.java.Field field, org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedColumn introspectedColumn, org.mybatis.generator.api.IntrospectedTable introspectedTable, org.mybatis.generator.api.Plugin.ModelClassType modelClassType) -
dynamicSqlSupportGenerated
public boolean dynamicSqlSupportGenerated(org.mybatis.generator.api.dom.java.TopLevelClass supportClass, org.mybatis.generator.api.IntrospectedTable introspectedTable) -
initialized
public void initialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)
-