Class AnnotatedClientGenerator
java.lang.Object
org.mybatis.generator.codegen.AbstractGenerator
org.mybatis.generator.codegen.AbstractJavaGenerator
org.mybatis.generator.codegen.AbstractJavaClientGenerator
org.mybatis.generator.codegen.mybatis3.javamapper.JavaMapperGenerator
org.mybatis.generator.codegen.mybatis3.javamapper.AnnotatedClientGenerator
-
Field Summary
Fields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCountByExampleMethod
(Interface interfaze) protected void
addDeleteByExampleMethod
(Interface interfaze) protected void
addDeleteByPrimaryKeyMethod
(Interface interfaze) protected void
addInsertMethod
(Interface interfaze) protected void
addInsertSelectiveMethod
(Interface interfaze) protected void
addSelectByExampleWithBLOBsMethod
(Interface interfaze) protected void
addSelectByExampleWithoutBLOBsMethod
(Interface interfaze) protected void
addSelectByPrimaryKeyMethod
(Interface interfaze) protected void
addUpdateByExampleSelectiveMethod
(Interface interfaze) protected void
addUpdateByExampleWithBLOBsMethod
(Interface interfaze) protected void
addUpdateByExampleWithoutBLOBsMethod
(Interface interfaze) protected void
addUpdateByPrimaryKeySelectiveMethod
(Interface interfaze) protected void
addUpdateByPrimaryKeyWithBLOBsMethod
(Interface interfaze) protected void
addUpdateByPrimaryKeyWithoutBLOBsMethod
(Interface interfaze) Returns an instance of the XML generator associated with this client generator.Methods inherited from class org.mybatis.generator.codegen.mybatis3.javamapper.JavaMapperGenerator
getCompilationUnits, 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
-
AnnotatedClientGenerator
-
-
Method Details
-
addCountByExampleMethod
- Overrides:
addCountByExampleMethod
in classJavaMapperGenerator
-
addDeleteByExampleMethod
- Overrides:
addDeleteByExampleMethod
in classJavaMapperGenerator
-
addDeleteByPrimaryKeyMethod
- Overrides:
addDeleteByPrimaryKeyMethod
in classJavaMapperGenerator
-
addInsertMethod
- Overrides:
addInsertMethod
in classJavaMapperGenerator
-
addInsertSelectiveMethod
- Overrides:
addInsertSelectiveMethod
in classJavaMapperGenerator
-
addSelectByExampleWithBLOBsMethod
- Overrides:
addSelectByExampleWithBLOBsMethod
in classJavaMapperGenerator
-
addSelectByExampleWithoutBLOBsMethod
- Overrides:
addSelectByExampleWithoutBLOBsMethod
in classJavaMapperGenerator
-
addSelectByPrimaryKeyMethod
- Overrides:
addSelectByPrimaryKeyMethod
in classJavaMapperGenerator
-
addUpdateByExampleSelectiveMethod
- Overrides:
addUpdateByExampleSelectiveMethod
in classJavaMapperGenerator
-
addUpdateByExampleWithBLOBsMethod
- Overrides:
addUpdateByExampleWithBLOBsMethod
in classJavaMapperGenerator
-
addUpdateByExampleWithoutBLOBsMethod
- Overrides:
addUpdateByExampleWithoutBLOBsMethod
in classJavaMapperGenerator
-
addUpdateByPrimaryKeySelectiveMethod
- Overrides:
addUpdateByPrimaryKeySelectiveMethod
in classJavaMapperGenerator
-
addUpdateByPrimaryKeyWithBLOBsMethod
- Overrides:
addUpdateByPrimaryKeyWithBLOBsMethod
in classJavaMapperGenerator
-
addUpdateByPrimaryKeyWithoutBLOBsMethod
- Overrides:
addUpdateByPrimaryKeyWithoutBLOBsMethod
in classJavaMapperGenerator
-
getExtraCompilationUnits
- Overrides:
getExtraCompilationUnits
in classJavaMapperGenerator
-
getMatchedXMLGenerator
Description copied from class:AbstractJavaClientGenerator
Returns an instance of the XML generator associated with this client generator.- Overrides:
getMatchedXMLGenerator
in classJavaMapperGenerator
- Returns:
- the matched XML generator. May return null if no XML is required by this generator
-