Class JavaMapperGenerator
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
- Direct Known Subclasses:
AnnotatedClientGenerator, MixedClientGenerator
-
Field Summary
Fields inherited from class AbstractGenerator
context, introspectedTable, progressCallback, warnings -
Constructor Summary
ConstructorsConstructorDescriptionJavaMapperGenerator(String project) JavaMapperGenerator(String project, boolean requiresMatchedXMLGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCountByExampleMethod(Interface interfaze) protected voidaddDeleteByExampleMethod(Interface interfaze) protected voidaddDeleteByPrimaryKeyMethod(Interface interfaze) protected voidaddInsertMethod(Interface interfaze) protected voidaddInsertSelectiveMethod(Interface interfaze) protected voidaddSelectByExampleWithBLOBsMethod(Interface interfaze) protected voidaddSelectByExampleWithoutBLOBsMethod(Interface interfaze) protected voidaddSelectByPrimaryKeyMethod(Interface interfaze) protected voidaddUpdateByExampleSelectiveMethod(Interface interfaze) protected voidaddUpdateByExampleWithBLOBsMethod(Interface interfaze) protected voidaddUpdateByExampleWithoutBLOBsMethod(Interface interfaze) protected voidaddUpdateByPrimaryKeySelectiveMethod(Interface interfaze) protected voidaddUpdateByPrimaryKeyWithBLOBsMethod(Interface interfaze) protected voidaddUpdateByPrimaryKeyWithoutBLOBsMethod(Interface interfaze) Returns an instance of the XML generator associated with this client generator.protected voidinitializeAndExecuteGenerator(AbstractJavaMapperMethodGenerator methodGenerator, Interface interfaze) Methods inherited from class AbstractJavaClientGenerator
requiresXMLGeneratorMethods inherited from class AbstractJavaGenerator
addDefaultConstructor, addDefaultConstructorWithGeneratedAnnotatoin, getGetter, getProject, getRootClassMethods inherited from class AbstractGenerator
setContext, setIntrospectedTable, setProgressCallback, setWarnings
-
Constructor Details
-
JavaMapperGenerator
-
JavaMapperGenerator
-
-
Method Details
-
getCompilationUnits
- Specified by:
getCompilationUnitsin classAbstractJavaGenerator
-
addCountByExampleMethod
-
addDeleteByExampleMethod
-
addDeleteByPrimaryKeyMethod
-
addInsertMethod
-
addInsertSelectiveMethod
-
addSelectByExampleWithBLOBsMethod
-
addSelectByExampleWithoutBLOBsMethod
-
addSelectByPrimaryKeyMethod
-
addUpdateByExampleSelectiveMethod
-
addUpdateByExampleWithBLOBsMethod
-
addUpdateByExampleWithoutBLOBsMethod
-
addUpdateByPrimaryKeySelectiveMethod
-
addUpdateByPrimaryKeyWithBLOBsMethod
-
addUpdateByPrimaryKeyWithoutBLOBsMethod
-
initializeAndExecuteGenerator
protected void initializeAndExecuteGenerator(AbstractJavaMapperMethodGenerator methodGenerator, Interface interfaze) -
getExtraCompilationUnits
-
getMatchedXMLGenerator
Description copied from class:AbstractJavaClientGeneratorReturns an instance of the XML generator associated with this client generator.- Specified by:
getMatchedXMLGeneratorin classAbstractJavaClientGenerator- Returns:
- the matched XML generator. May return null if no XML is required by this generator
-