public class SimpleJavaClientGenerator extends AbstractJavaClientGenerator
context, introspectedTable, progressCallback, warnings
Constructor and Description |
---|
SimpleJavaClientGenerator() |
SimpleJavaClientGenerator(boolean requiresMatchedXMLGenerator) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDeleteByPrimaryKeyMethod(Interface interfaze) |
protected void |
addInsertMethod(Interface interfaze) |
protected void |
addSelectAllMethod(Interface interfaze) |
protected void |
addSelectByPrimaryKeyMethod(Interface interfaze) |
protected void |
addUpdateByPrimaryKeyMethod(Interface interfaze) |
List<CompilationUnit> |
getCompilationUnits() |
List<CompilationUnit> |
getExtraCompilationUnits() |
AbstractXmlGenerator |
getMatchedXMLGenerator()
This method returns an instance of the XML generator associated
with this client generator.
|
protected void |
initializeAndExecuteGenerator(AbstractJavaMapperMethodGenerator methodGenerator,
Interface interfaze) |
requiresXMLGenerator
addDefaultConstructor, getGetter, getJavaBeansField, getJavaBeansGetter, getJavaBeansSetter, getRootClass, isTrimStringsEnabled
getContext, getIntrospectedTable, getProgressCallback, getWarnings, setContext, setIntrospectedTable, setProgressCallback, setWarnings
public SimpleJavaClientGenerator()
public SimpleJavaClientGenerator(boolean requiresMatchedXMLGenerator)
public List<CompilationUnit> getCompilationUnits()
getCompilationUnits
in class AbstractJavaGenerator
protected void addDeleteByPrimaryKeyMethod(Interface interfaze)
protected void addInsertMethod(Interface interfaze)
protected void addSelectByPrimaryKeyMethod(Interface interfaze)
protected void addSelectAllMethod(Interface interfaze)
protected void addUpdateByPrimaryKeyMethod(Interface interfaze)
protected void initializeAndExecuteGenerator(AbstractJavaMapperMethodGenerator methodGenerator, Interface interfaze)
public List<CompilationUnit> getExtraCompilationUnits()
public AbstractXmlGenerator getMatchedXMLGenerator()
AbstractJavaClientGenerator
getMatchedXMLGenerator
in class AbstractJavaClientGenerator
Copyright © 2010–2018 MyBatis.org. All rights reserved.