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

java.lang.Object
  extended by org.mybatis.generator.codegen.AbstractGenerator
      extended by org.mybatis.generator.codegen.AbstractJavaGenerator
          extended by org.mybatis.generator.codegen.AbstractJavaClientGenerator
              extended by org.mybatis.generator.codegen.mybatis3.javamapper.JavaMapperGenerator
                  extended by org.mybatis.generator.codegen.mybatis3.javamapper.AnnotatedClientGenerator

public class AnnotatedClientGenerator
extends JavaMapperGenerator


Field Summary
 
Fields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings
 
Constructor Summary
AnnotatedClientGenerator()
           
 
Method Summary
protected  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)
           
 List<CompilationUnit> getExtraCompilationUnits()
           
 AbstractXmlGenerator getMatchedXMLGenerator()
          This method 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, 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

AnnotatedClientGenerator

public AnnotatedClientGenerator()
Method Detail

addCountByExampleMethod

protected void addCountByExampleMethod(Interface interfaze)
Overrides:
addCountByExampleMethod in class JavaMapperGenerator

addDeleteByExampleMethod

protected void addDeleteByExampleMethod(Interface interfaze)
Overrides:
addDeleteByExampleMethod in class JavaMapperGenerator

addDeleteByPrimaryKeyMethod

protected void addDeleteByPrimaryKeyMethod(Interface interfaze)
Overrides:
addDeleteByPrimaryKeyMethod in class JavaMapperGenerator

addInsertMethod

protected void addInsertMethod(Interface interfaze)
Overrides:
addInsertMethod in class JavaMapperGenerator

addInsertSelectiveMethod

protected void addInsertSelectiveMethod(Interface interfaze)
Overrides:
addInsertSelectiveMethod in class JavaMapperGenerator

addSelectByExampleWithBLOBsMethod

protected void addSelectByExampleWithBLOBsMethod(Interface interfaze)
Overrides:
addSelectByExampleWithBLOBsMethod in class JavaMapperGenerator

addSelectByExampleWithoutBLOBsMethod

protected void addSelectByExampleWithoutBLOBsMethod(Interface interfaze)
Overrides:
addSelectByExampleWithoutBLOBsMethod in class JavaMapperGenerator

addSelectByPrimaryKeyMethod

protected void addSelectByPrimaryKeyMethod(Interface interfaze)
Overrides:
addSelectByPrimaryKeyMethod in class JavaMapperGenerator

addUpdateByExampleSelectiveMethod

protected void addUpdateByExampleSelectiveMethod(Interface interfaze)
Overrides:
addUpdateByExampleSelectiveMethod in class JavaMapperGenerator

addUpdateByExampleWithBLOBsMethod

protected void addUpdateByExampleWithBLOBsMethod(Interface interfaze)
Overrides:
addUpdateByExampleWithBLOBsMethod in class JavaMapperGenerator

addUpdateByExampleWithoutBLOBsMethod

protected void addUpdateByExampleWithoutBLOBsMethod(Interface interfaze)
Overrides:
addUpdateByExampleWithoutBLOBsMethod in class JavaMapperGenerator

addUpdateByPrimaryKeySelectiveMethod

protected void addUpdateByPrimaryKeySelectiveMethod(Interface interfaze)
Overrides:
addUpdateByPrimaryKeySelectiveMethod in class JavaMapperGenerator

addUpdateByPrimaryKeyWithBLOBsMethod

protected void addUpdateByPrimaryKeyWithBLOBsMethod(Interface interfaze)
Overrides:
addUpdateByPrimaryKeyWithBLOBsMethod in class JavaMapperGenerator

addUpdateByPrimaryKeyWithoutBLOBsMethod

protected void addUpdateByPrimaryKeyWithoutBLOBsMethod(Interface interfaze)
Overrides:
addUpdateByPrimaryKeyWithoutBLOBsMethod in class JavaMapperGenerator

getExtraCompilationUnits

public List<CompilationUnit> getExtraCompilationUnits()
Overrides:
getExtraCompilationUnits in class JavaMapperGenerator

getMatchedXMLGenerator

public AbstractXmlGenerator getMatchedXMLGenerator()
Description copied from class: AbstractJavaClientGenerator
This method returns an instance of the XML generator associated with this client generator.

Overrides:
getMatchedXMLGenerator in class JavaMapperGenerator
Returns:
the matched XML generator. May return null if no XML is required by this generator


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