org.mybatis.generator.codegen.mybatis3.javamapper
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
public class JavaMapperGenerator
- extends AbstractJavaClientGenerator
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaMapperGenerator
public JavaMapperGenerator()
JavaMapperGenerator
public JavaMapperGenerator(boolean requiresMatchedXMLGenerator)
getCompilationUnits
public List<CompilationUnit> getCompilationUnits()
- Specified by:
getCompilationUnits
in class AbstractJavaGenerator
addCountByExampleMethod
protected void addCountByExampleMethod(Interface interfaze)
addDeleteByExampleMethod
protected void addDeleteByExampleMethod(Interface interfaze)
addDeleteByPrimaryKeyMethod
protected void addDeleteByPrimaryKeyMethod(Interface interfaze)
addInsertMethod
protected void addInsertMethod(Interface interfaze)
addInsertSelectiveMethod
protected void addInsertSelectiveMethod(Interface interfaze)
addSelectByExampleWithBLOBsMethod
protected void addSelectByExampleWithBLOBsMethod(Interface interfaze)
addSelectByExampleWithoutBLOBsMethod
protected void addSelectByExampleWithoutBLOBsMethod(Interface interfaze)
addSelectByPrimaryKeyMethod
protected void addSelectByPrimaryKeyMethod(Interface interfaze)
addUpdateByExampleSelectiveMethod
protected void addUpdateByExampleSelectiveMethod(Interface interfaze)
addUpdateByExampleWithBLOBsMethod
protected void addUpdateByExampleWithBLOBsMethod(Interface interfaze)
addUpdateByExampleWithoutBLOBsMethod
protected void addUpdateByExampleWithoutBLOBsMethod(Interface interfaze)
addUpdateByPrimaryKeySelectiveMethod
protected void addUpdateByPrimaryKeySelectiveMethod(Interface interfaze)
addUpdateByPrimaryKeyWithBLOBsMethod
protected void addUpdateByPrimaryKeyWithBLOBsMethod(Interface interfaze)
addUpdateByPrimaryKeyWithoutBLOBsMethod
protected void addUpdateByPrimaryKeyWithoutBLOBsMethod(Interface interfaze)
initializeAndExecuteGenerator
protected void initializeAndExecuteGenerator(AbstractJavaMapperMethodGenerator methodGenerator,
Interface interfaze)
getExtraCompilationUnits
public List<CompilationUnit> getExtraCompilationUnits()
getMatchedXMLGenerator
public AbstractXmlGenerator getMatchedXMLGenerator()
- Description copied from class:
AbstractJavaClientGenerator
- This method returns an instance of the XML generator associated
with this client generator.
- Specified by:
getMatchedXMLGenerator
in class AbstractJavaClientGenerator
- Returns:
- the matched XML generator. May return null if no
XML is required by this generator
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.