Class InsertMethodGenerator
java.lang.Object
org.mybatis.generator.codegen.AbstractGenerator
org.mybatis.generator.codegen.mybatis3.javamapper.elements.AbstractJavaMapperMethodGenerator
org.mybatis.generator.codegen.mybatis3.javamapper.elements.InsertMethodGenerator
- Direct Known Subclasses:
AnnotatedInsertMethodGenerator
-
Field Summary
FieldsFields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtraImports(Interface interfaze) voidaddInterfaceElements(Interface interfaze) voidaddMapperAnnotations(Method method) Methods inherited from class org.mybatis.generator.codegen.mybatis3.javamapper.elements.AbstractJavaMapperMethodGenerator
addAnnotatedResults, addAnnotatedSelectImports, addPrimaryKeyMethodParameters, buildBasicUpdateByExampleMethod, buildBasicUpdateByPrimaryKeyMethod, buildByPrimaryKeyWhereClause, buildGeneratedKeyAnnotation, buildGeneratedKeyImportsIfRequired, buildInitialSelectAnnotationStrings, buildUpdateByPrimaryKeyAnnotations, getResultAnnotationMethods inherited from class org.mybatis.generator.codegen.AbstractGenerator
setContext, setIntrospectedTable, setProgressCallback, setWarnings
-
Field Details
-
isSimple
private final boolean isSimple
-
-
Constructor Details
-
InsertMethodGenerator
public InsertMethodGenerator(boolean isSimple)
-
-
Method Details
-
addInterfaceElements
- Specified by:
addInterfaceElementsin classAbstractJavaMapperMethodGenerator
-
addMapperAnnotations
-
addExtraImports
-