public class

DAOGenerator

extends AbstractJavaClientGenerator
java.lang.Object
   ↳ org.mybatis.generator.codegen.AbstractGenerator
     ↳ org.mybatis.generator.codegen.AbstractJavaGenerator
       ↳ org.mybatis.generator.codegen.AbstractJavaClientGenerator
         ↳ org.mybatis.generator.codegen.ibatis2.dao.DAOGenerator

Summary

[Expand]
Inherited Fields
From class org.mybatis.generator.codegen.AbstractGenerator
Public Constructors
DAOGenerator(AbstractDAOTemplate daoTemplate, boolean generateForJava5)
Public Methods
List<CompilationUnit> getCompilationUnits()
AbstractXmlGenerator getMatchedXMLGenerator()
This method returns an instance of the XML generator associated with this client generator.
Protected Methods
void addCountByExampleMethod(TopLevelClass topLevelClass, Interface interfaze)
void addDeleteByExampleMethod(TopLevelClass topLevelClass, Interface interfaze)
void addDeleteByPrimaryKeyMethod(TopLevelClass topLevelClass, Interface interfaze)
void addInsertMethod(TopLevelClass topLevelClass, Interface interfaze)
void addInsertSelectiveMethod(TopLevelClass topLevelClass, Interface interfaze)
void addSelectByExampleWithBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze)
void addSelectByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze)
void addSelectByPrimaryKeyMethod(TopLevelClass topLevelClass, Interface interfaze)
void addUpdateByExampleParmsInnerclass(TopLevelClass topLevelClass, Interface interfaze)
void addUpdateByExampleSelectiveMethod(TopLevelClass topLevelClass, Interface interfaze)
void addUpdateByExampleWithBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze)
void addUpdateByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze)
void addUpdateByPrimaryKeySelectiveMethod(TopLevelClass topLevelClass, Interface interfaze)
void addUpdateByPrimaryKeyWithBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze)
void addUpdateByPrimaryKeyWithoutBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze)
Interface getInterfaceShell()
TopLevelClass getTopLevelClassShell()
void initializeAndExecuteGenerator(AbstractDAOElementGenerator methodGenerator, TopLevelClass topLevelClass, Interface interfaze)
[Expand]
Inherited Methods
From class org.mybatis.generator.codegen.AbstractJavaClientGenerator
From class org.mybatis.generator.codegen.AbstractJavaGenerator
From class org.mybatis.generator.codegen.AbstractGenerator
From class java.lang.Object

Public Constructors

public DAOGenerator (AbstractDAOTemplate daoTemplate, boolean generateForJava5)

Public Methods

public List<CompilationUnit> getCompilationUnits ()

public AbstractXmlGenerator getMatchedXMLGenerator ()

This method returns an instance of the XML generator associated with this client generator.

Returns
  • the matched XML generator. May return null if no XML is required by this generator

Protected Methods

protected void addCountByExampleMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addDeleteByExampleMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addDeleteByPrimaryKeyMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addInsertMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addInsertSelectiveMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addSelectByExampleWithBLOBsMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addSelectByExampleWithoutBLOBsMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addSelectByPrimaryKeyMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addUpdateByExampleParmsInnerclass (TopLevelClass topLevelClass, Interface interfaze)

protected void addUpdateByExampleSelectiveMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addUpdateByExampleWithBLOBsMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addUpdateByExampleWithoutBLOBsMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addUpdateByPrimaryKeySelectiveMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addUpdateByPrimaryKeyWithBLOBsMethod (TopLevelClass topLevelClass, Interface interfaze)

protected void addUpdateByPrimaryKeyWithoutBLOBsMethod (TopLevelClass topLevelClass, Interface interfaze)

protected Interface getInterfaceShell ()

protected TopLevelClass getTopLevelClassShell ()

protected void initializeAndExecuteGenerator (AbstractDAOElementGenerator methodGenerator, TopLevelClass topLevelClass, Interface interfaze)