org.mybatis.generator.codegen.mybatis3.javamapper
Class SqlProviderGenerator

java.lang.Object
  extended by org.mybatis.generator.codegen.AbstractGenerator
      extended by org.mybatis.generator.codegen.AbstractJavaGenerator
          extended by org.mybatis.generator.codegen.mybatis3.javamapper.SqlProviderGenerator

public class SqlProviderGenerator
extends AbstractJavaGenerator

Author:
Jeff Butler

Field Summary
 
Fields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings
 
Constructor Summary
SqlProviderGenerator()
           
 
Method Summary
protected  void addApplyWhereMethod(TopLevelClass topLevelClass)
           
protected  boolean addCountByExampleMethod(TopLevelClass topLevelClass)
           
protected  boolean addDeleteByExampleMethod(TopLevelClass topLevelClass)
           
protected  void addInsertSelectiveMethod(TopLevelClass topLevelClass)
           
protected  boolean addSelectByExampleWithBLOBsMethod(TopLevelClass topLevelClass)
           
protected  boolean addSelectByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass)
           
protected  boolean addUpdateByExampleSelectiveMethod(TopLevelClass topLevelClass)
           
protected  boolean addUpdateByExampleWithBLOBsMethod(TopLevelClass topLevelClass)
           
protected  boolean addUpdateByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass)
           
protected  void addUpdateByPrimaryKeySelectiveMethod(TopLevelClass topLevelClass)
           
 List<CompilationUnit> getCompilationUnits()
           
protected  void initializeAndExecuteGenerator(AbstractJavaProviderMethodGenerator methodGenerator, TopLevelClass topLevelClass)
           
 
Methods inherited from class org.mybatis.generator.codegen.AbstractJavaGenerator
addDefaultConstructor, getGetter, getJavaBeansField, getJavaBeansGetter, getJavaBeansSetter, getRootClass, isTrimStringsEnabled
 
Methods inherited from class org.mybatis.generator.codegen.AbstractGenerator
getContext, getIntrospectedTable, getProgressCallback, getWarnings, setContext, setIntrospectedTable, setProgressCallback, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlProviderGenerator

public SqlProviderGenerator()
Method Detail

getCompilationUnits

public List<CompilationUnit> getCompilationUnits()
Specified by:
getCompilationUnits in class AbstractJavaGenerator

addCountByExampleMethod

protected boolean addCountByExampleMethod(TopLevelClass topLevelClass)

addDeleteByExampleMethod

protected boolean addDeleteByExampleMethod(TopLevelClass topLevelClass)

addInsertSelectiveMethod

protected void addInsertSelectiveMethod(TopLevelClass topLevelClass)

addSelectByExampleWithBLOBsMethod

protected boolean addSelectByExampleWithBLOBsMethod(TopLevelClass topLevelClass)

addSelectByExampleWithoutBLOBsMethod

protected boolean addSelectByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass)

addUpdateByExampleSelectiveMethod

protected boolean addUpdateByExampleSelectiveMethod(TopLevelClass topLevelClass)

addUpdateByExampleWithBLOBsMethod

protected boolean addUpdateByExampleWithBLOBsMethod(TopLevelClass topLevelClass)

addUpdateByExampleWithoutBLOBsMethod

protected boolean addUpdateByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass)

addUpdateByPrimaryKeySelectiveMethod

protected void addUpdateByPrimaryKeySelectiveMethod(TopLevelClass topLevelClass)

addApplyWhereMethod

protected void addApplyWhereMethod(TopLevelClass topLevelClass)

initializeAndExecuteGenerator

protected void initializeAndExecuteGenerator(AbstractJavaProviderMethodGenerator methodGenerator,
                                             TopLevelClass topLevelClass)


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.