Class AbstractKotlinFunctionGenerator
java.lang.Object
org.mybatis.generator.runtime.kotlin.elements.AbstractKotlinFunctionGenerator
- Direct Known Subclasses:
BasicInsertMethodGenerator
,BasicMultipleInsertMethodGenerator
,BasicSelectManyMethodGenerator
,BasicSelectOneMethodGenerator
,DeleteByPrimaryKeyMethodGenerator
,GeneralCountMethodGenerator
,GeneralDeleteMethodGenerator
,GeneralSelectDistinctMethodGenerator
,GeneralSelectMethodGenerator
,GeneralSelectOneMethodGenerator
,GeneralUpdateMethodGenerator
,InsertMethodGenerator
,InsertMultipleMethodGenerator
,InsertMultipleVarargMethodGenerator
,InsertSelectiveMethodGenerator
,SelectByPrimaryKeyMethodGenerator
,UpdateAllColumnsMethodGenerator
,UpdateByPrimaryKeyMethodGenerator
,UpdateByPrimaryKeySelectiveMethodGenerator
,UpdateSelectiveColumnsMethodGenerator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AbstractKotlinFunctionGenerator.BaseBuilder<T extends AbstractKotlinFunctionGenerator.BaseBuilder<T>>
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Context
protected final IntrospectedTable
protected final String
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
acceptParts
(KotlinFile kotlinFile, KotlinFunction kotlinFunction, KotlinFunctionParts functionParts) protected void
acceptParts
(KotlinFunctionAndImports functionAndImports, KotlinFunctionParts functionParts) protected void
addFunctionComment
(KotlinFunctionAndImports functionAndImports) calculateFieldNameAndImport
(String tableFieldName, String supportObjectImport, IntrospectedColumn column) abstract boolean
callPlugins
(KotlinFunction method, KotlinFile kotlinFile) abstract KotlinFunctionAndImports
-
Field Details
-
context
-
introspectedTable
-
tableFieldName
-
-
Constructor Details
-
AbstractKotlinFunctionGenerator
-
-
Method Details
-
acceptParts
protected void acceptParts(KotlinFile kotlinFile, KotlinFunction kotlinFunction, KotlinFunctionParts functionParts) -
acceptParts
protected void acceptParts(KotlinFunctionAndImports functionAndImports, KotlinFunctionParts functionParts) -
addFunctionComment
-
calculateFieldNameAndImport
public static AbstractKotlinFunctionGenerator.FieldNameAndImport calculateFieldNameAndImport(String tableFieldName, String supportObjectImport, IntrospectedColumn column) -
generateMethodAndImports
-
callPlugins
-