public class DAOGenerator extends AbstractJavaClientGenerator
context, introspectedTable, progressCallback, warnings| 构造器和说明 |
|---|
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 在类中 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 在类中 AbstractJavaClientGeneratorCopyright © 2006–2016 MyBatis.org. All rights reserved.