Package | Description |
---|---|
org.mybatis.generator.api |
Provides the main classes and interfaces used by clients of MyBatis Generator.
|
org.mybatis.generator.codegen | |
org.mybatis.generator.codegen.ibatis2.dao | |
org.mybatis.generator.codegen.ibatis2.dao.elements | |
org.mybatis.generator.codegen.mybatis3.javamapper | |
org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider | |
org.mybatis.generator.internal | |
org.mybatis.generator.plugins |
Modifier and Type | Method and Description |
---|---|
boolean |
PluginAdapter.clientCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has been generated
in the client implementation class.
|
boolean |
PluginAdapter.clientDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has been generated
in the client implementation class.
|
boolean |
PluginAdapter.clientDeleteByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientDeleteByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey method has been
generated in the client implementation class.
|
boolean |
PluginAdapter.clientGenerated(Interface interfaze,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientGenerated(Interface interfaze,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the entire client has been generated.
|
boolean |
PluginAdapter.clientInsertMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientInsertMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated in the
client implementation class.
|
boolean |
PluginAdapter.clientInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insert selective method has been generated
in the client implementation class.
|
boolean |
PluginAdapter.clientSelectAllMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientSelectAllMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectAll method has been
generated in the client implementation class.
|
boolean |
PluginAdapter.clientSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has been
generated in the client implementation class.
|
boolean |
PluginAdapter.clientSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the client implementation class.
|
boolean |
PluginAdapter.clientSelectByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientSelectByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey method has been
generated in the client implementation class.
|
boolean |
PluginAdapter.clientUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has been
generated in the client implementation class.
|
boolean |
PluginAdapter.clientUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has been
generated in the client implementation class.
|
boolean |
PluginAdapter.clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the client implementation class.
|
boolean |
PluginAdapter.clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the client implementation class.
|
boolean |
PluginAdapter.clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs method has
been generated in the client implementation class.
|
boolean |
PluginAdapter.clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs method has
been generated in the client implementation class.
|
boolean |
PluginAdapter.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the base record class is generated by the
JavaModelGenerator.
|
boolean |
PluginAdapter.modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the example class is generated by the
JavaModelGenerator.
|
boolean |
PluginAdapter.modelFieldGenerated(Field field,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType) |
boolean |
Plugin.modelFieldGenerated(Field field,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType)
This method is called after the field is generated for a specific column
in a table.
|
boolean |
PluginAdapter.modelGetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType) |
boolean |
Plugin.modelGetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType)
This method is called after the getter, or accessor, method is generated
for a specific column in a table.
|
boolean |
PluginAdapter.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the primary key class is generated by the
JavaModelGenerator.
|
boolean |
PluginAdapter.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the record with BLOBs class is generated by
the JavaModelGenerator.
|
boolean |
PluginAdapter.modelSetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType) |
boolean |
Plugin.modelSetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType)
This method is called after the setter, or mutator, method is generated
for a specific column in a table.
|
boolean |
PluginAdapter.providerApplyWhereMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerApplyWhereMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the applyWhere method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the SQL provider has been generated.
|
boolean |
PluginAdapter.providerInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insertSelective method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
boolean |
PluginAdapter.providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
Plugin.providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the SQL provider.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractJavaGenerator.addDefaultConstructor(TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
protected TopLevelClass |
DAOGenerator.getTopLevelClassShell() |
Modifier and Type | Method and Description |
---|---|
protected void |
DAOGenerator.addCountByExampleMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addDeleteByExampleMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addDeleteByPrimaryKeyMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addInsertMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addInsertSelectiveMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addSelectByExampleWithBLOBsMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addSelectByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addSelectByPrimaryKeyMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addUpdateByExampleParmsInnerclass(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addUpdateByExampleSelectiveMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addUpdateByExampleWithBLOBsMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addUpdateByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addUpdateByPrimaryKeySelectiveMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addUpdateByPrimaryKeyWithBLOBsMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.addUpdateByPrimaryKeyWithoutBLOBsMethod(TopLevelClass topLevelClass,
Interface interfaze) |
protected void |
DAOGenerator.initializeAndExecuteGenerator(AbstractDAOElementGenerator methodGenerator,
TopLevelClass topLevelClass,
Interface interfaze) |
Modifier and Type | Method and Description |
---|---|
void |
UpdateByPrimaryKeyWithoutBLOBsMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
UpdateByPrimaryKeyWithBLOBsMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
UpdateByExampleWithoutBLOBsMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
DeleteByPrimaryKeyMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
UpdateByExampleWithBLOBsMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
SelectByPrimaryKeyMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
UpdateByExampleSelectiveMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
SelectByExampleWithBLOBsMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
SelectByExampleWithoutBLOBsMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
UpdateByExampleParmsInnerclassGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
InsertMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
UpdateByPrimaryKeySelectiveMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
CountByExampleMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
DeleteByExampleMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
void |
InsertSelectiveMethodGenerator.addImplementationElements(TopLevelClass topLevelClass) |
abstract void |
AbstractDAOElementGenerator.addImplementationElements(TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
SqlProviderGenerator.addApplyWhereMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addCountByExampleMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addDeleteByExampleMethod(TopLevelClass topLevelClass) |
protected void |
SqlProviderGenerator.addInsertSelectiveMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addSelectByExampleWithBLOBsMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addSelectByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addUpdateByExampleSelectiveMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addUpdateByExampleWithBLOBsMethod(TopLevelClass topLevelClass) |
protected boolean |
SqlProviderGenerator.addUpdateByExampleWithoutBLOBsMethod(TopLevelClass topLevelClass) |
protected void |
SqlProviderGenerator.addUpdateByPrimaryKeySelectiveMethod(TopLevelClass topLevelClass) |
protected void |
SqlProviderGenerator.initializeAndExecuteGenerator(AbstractJavaProviderMethodGenerator methodGenerator,
TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
void |
ProviderUpdateByExampleWithoutBLOBsMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderApplyWhereMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
abstract void |
AbstractJavaProviderMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderSelectByExampleWithoutBLOBsMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderCountByExampleMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderDeleteByExampleMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderUpdateByPrimaryKeySelectiveMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderInsertSelectiveMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
void |
ProviderUpdateByExampleSelectiveMethodGenerator.addClassElements(TopLevelClass topLevelClass) |
boolean |
ProviderUpdateByExampleWithoutBLOBsMethodGenerator.callPlugins(Method method,
TopLevelClass topLevelClass) |
boolean |
ProviderSelectByExampleWithoutBLOBsMethodGenerator.callPlugins(Method method,
TopLevelClass topLevelClass) |
boolean |
ProviderUpdateByExampleWithBLOBsMethodGenerator.callPlugins(Method method,
TopLevelClass topLevelClass) |
boolean |
ProviderSelectByExampleWithBLOBsMethodGenerator.callPlugins(Method method,
TopLevelClass topLevelClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
EqualsHashCodePlugin.generateEquals(TopLevelClass topLevelClass,
List<IntrospectedColumn> introspectedColumns,
IntrospectedTable introspectedTable)
Generates an equals method that does a comparison of all fields.
|
protected void |
EqualsHashCodePlugin.generateHashCode(TopLevelClass topLevelClass,
List<IntrospectedColumn> introspectedColumns,
IntrospectedTable introspectedTable)
Generates a hashCode method that includes all fields.
|
protected void |
SerializablePlugin.makeSerializable(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
EqualsHashCodePlugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
SerializablePlugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
ToStringPlugin.modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
CaseInsensitiveLikePlugin.modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
EqualsHashCodePlugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
SerializablePlugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
ToStringPlugin.modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
EqualsHashCodePlugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
SerializablePlugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
boolean |
ToStringPlugin.modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable) |
Copyright © 2010–2018 MyBatis.org. All rights reserved.