public class SimpleJavaClientGenerator extends AbstractJavaClientGenerator
context, introspectedTable, progressCallback, warnings
Constructor and Description |
---|
SimpleJavaClientGenerator(String project) |
SimpleJavaClientGenerator(String project,
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()
Returns an instance of the XML generator associated
with this client generator.
|
protected void |
initializeAndExecuteGenerator(AbstractJavaMapperMethodGenerator methodGenerator,
Interface interfaze) |
requiresXMLGenerator
addDefaultConstructor, addDefaultConstructorWithGeneratedAnnotatoin, getGetter, getProject, getRootClass
setContext, setIntrospectedTable, setProgressCallback, setWarnings
public SimpleJavaClientGenerator(String project)
public SimpleJavaClientGenerator(String project, 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 © 2006–2024 MyBatis.org. All rights reserved.