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 AbstractGenerator
context, introspectedTable, progressCallback, warnings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDeleteByPrimaryKeyMethod(Interface interfaze) protected voidaddInsertMethod(Interface interfaze) protected voidaddSelectAllMethod(Interface interfaze) protected voidaddSelectByPrimaryKeyMethod(Interface interfaze) protected voidaddUpdateByPrimaryKeyMethod(Interface interfaze) Returns an instance of the XML generator associated with this client generator.Methods inherited from class SimpleJavaClientGenerator
getCompilationUnits, getExtraCompilationUnits, initializeAndExecuteGeneratorMethods inherited from class AbstractJavaClientGenerator
requiresXMLGeneratorMethods inherited from class AbstractJavaGenerator
addDefaultConstructor, addDefaultConstructorWithGeneratedAnnotatoin, getGetter, getProject, getRootClassMethods inherited from class AbstractGenerator
setContext, setIntrospectedTable, setProgressCallback, setWarnings
-
Constructor Details
-
SimpleAnnotatedClientGenerator
-
-
Method Details
-
addDeleteByPrimaryKeyMethod
- Overrides:
addDeleteByPrimaryKeyMethodin classSimpleJavaClientGenerator
-
addInsertMethod
- Overrides:
addInsertMethodin classSimpleJavaClientGenerator
-
addSelectByPrimaryKeyMethod
- Overrides:
addSelectByPrimaryKeyMethodin classSimpleJavaClientGenerator
-
addSelectAllMethod
- Overrides:
addSelectAllMethodin classSimpleJavaClientGenerator
-
addUpdateByPrimaryKeyMethod
- Overrides:
addUpdateByPrimaryKeyMethodin classSimpleJavaClientGenerator
-
getMatchedXMLGenerator
Description copied from class:AbstractJavaClientGeneratorReturns an instance of the XML generator associated with this client generator.- Overrides:
getMatchedXMLGeneratorin classSimpleJavaClientGenerator- Returns:
- the matched XML generator. May return null if no XML is required by this generator
-