public class DAOGenerator extends AbstractJavaClientGenerator
context, introspectedTable, progressCallback, warnings| Constructor and Description |
|---|
DAOGenerator(AbstractDAOTemplate daoTemplate,
boolean generateForJava5) |
requiresXMLGeneratoraddDefaultConstructor, getGetter, getRootClassgetContext, getIntrospectedTable, getProgressCallback, getWarnings, setContext, setIntrospectedTable, setProgressCallback, setWarningspublic DAOGenerator(AbstractDAOTemplate daoTemplate, boolean generateForJava5)
public List<CompilationUnit> getCompilationUnits()
getCompilationUnits in class AbstractJavaGeneratorprotected TopLevelClass getTopLevelClassShell()
protected Interface getInterfaceShell()
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 void initializeAndExecuteGenerator(AbstractDAOElementGenerator methodGenerator, TopLevelClass topLevelClass, Interface interfaze)
public AbstractXmlGenerator getMatchedXMLGenerator()
AbstractJavaClientGeneratorgetMatchedXMLGenerator in class AbstractJavaClientGeneratorCopyright © 2006–2016 MyBatis.org. All rights reserved.