Class SimpleAnnotatedClientGenerator
java.lang.Object
org.mybatis.generator.codegen.AbstractGenerator
org.mybatis.generator.codegen.AbstractJavaGenerator
org.mybatis.generator.codegen.AbstractJavaClientGenerator
org.mybatis.generator.codegen.mybatis3.javamapper.SimpleJavaClientGenerator
org.mybatis.generator.codegen.mybatis3.javamapper.SimpleAnnotatedClientGenerator
-
Field Summary
Fields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDeleteByPrimaryKeyMethod
(Interface interfaze) protected void
addInsertMethod
(Interface interfaze) protected void
addSelectAllMethod
(Interface interfaze) protected void
addSelectByPrimaryKeyMethod
(Interface interfaze) protected void
addUpdateByPrimaryKeyMethod
(Interface interfaze) Returns an instance of the XML generator associated with this client generator.Methods inherited from class org.mybatis.generator.codegen.mybatis3.javamapper.SimpleJavaClientGenerator
getCompilationUnits, getExtraCompilationUnits, initializeAndExecuteGenerator
Methods inherited from class org.mybatis.generator.codegen.AbstractJavaClientGenerator
requiresXMLGenerator
Methods inherited from class org.mybatis.generator.codegen.AbstractJavaGenerator
addDefaultConstructor, addDefaultConstructorWithGeneratedAnnotatoin, getGetter, getProject, getRootClass
Methods inherited from class org.mybatis.generator.codegen.AbstractGenerator
setContext, setIntrospectedTable, setProgressCallback, setWarnings
-
Constructor Details
-
SimpleAnnotatedClientGenerator
-
-
Method Details
-
addDeleteByPrimaryKeyMethod
- Overrides:
addDeleteByPrimaryKeyMethod
in classSimpleJavaClientGenerator
-
addInsertMethod
- Overrides:
addInsertMethod
in classSimpleJavaClientGenerator
-
addSelectByPrimaryKeyMethod
- Overrides:
addSelectByPrimaryKeyMethod
in classSimpleJavaClientGenerator
-
addSelectAllMethod
- Overrides:
addSelectAllMethod
in classSimpleJavaClientGenerator
-
addUpdateByPrimaryKeyMethod
- Overrides:
addUpdateByPrimaryKeyMethod
in classSimpleJavaClientGenerator
-
getMatchedXMLGenerator
Description copied from class:AbstractJavaClientGenerator
Returns an instance of the XML generator associated with this client generator.- Overrides:
getMatchedXMLGenerator
in classSimpleJavaClientGenerator
- Returns:
- the matched XML generator. May return null if no XML is required by this generator
-