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
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractKotlinFunctionGenerator.BaseBuilder<T extends AbstractKotlinFunctionGenerator.BaseBuilder<T>>static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Contextprotected final IntrospectedTableprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected voidacceptParts(KotlinFile kotlinFile, KotlinFunction kotlinFunction, KotlinFunctionParts functionParts) protected voidacceptParts(KotlinFunctionAndImports functionAndImports, KotlinFunctionParts functionParts) protected voidaddFunctionComment(KotlinFunctionAndImports functionAndImports) calculateFieldNameAndImport(String tableFieldName, String supportObjectImport, IntrospectedColumn column) abstract booleancallPlugins(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
-