public abstract class PluginAdapter extends Object implements Plugin
This adapter does not implement the validate method - all plugins must perform validation.
Plugin.ModelClassType| 限定符和类型 | 字段和说明 |
|---|---|
protected Context |
context |
protected Properties |
properties |
| 构造器和说明 |
|---|
PluginAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
clientCountByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has been generated
in the client interface.
|
boolean |
clientCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has been generated
in the client implementation class.
|
boolean |
clientDeleteByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has been generated
in the client interface.
|
boolean |
clientDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has been generated
in the client implementation class.
|
boolean |
clientDeleteByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey method has been
generated in the client interface.
|
boolean |
clientDeleteByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey method has been
generated in the client implementation class.
|
boolean |
clientGenerated(Interface interfaze,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the entire client has been generated.
|
boolean |
clientInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated in the
client interface.
|
boolean |
clientInsertMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated in the
client implementation class.
|
boolean |
clientInsertSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert selective method has been generated
in the client interface.
|
boolean |
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 |
clientSelectAllMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectAll method has been
generated in the client interface.
|
boolean |
clientSelectAllMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectAll method has been
generated in the client implementation class.
|
boolean |
clientSelectByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has been
generated in the client interface.
|
boolean |
clientSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has been
generated in the client implementation class.
|
boolean |
clientSelectByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the client interface.
|
boolean |
clientSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the client implementation class.
|
boolean |
clientSelectByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey method has been
generated in the client interface.
|
boolean |
clientSelectByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey method has been
generated in the client implementation class.
|
boolean |
clientUpdateByExampleSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has been
generated in the client interface.
|
boolean |
clientUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has been
generated in the client implementation class.
|
boolean |
clientUpdateByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has been
generated in the client interface.
|
boolean |
clientUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has been
generated in the client implementation class.
|
boolean |
clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the client interface.
|
boolean |
clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the client implementation class.
|
boolean |
clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the client interface.
|
boolean |
clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the client implementation class.
|
boolean |
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs method has
been generated in the client interface.
|
boolean |
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs method has
been generated in the client implementation class.
|
boolean |
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs method has
been generated in the client interface.
|
boolean |
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs method has
been generated in the client implementation class.
|
List<GeneratedJavaFile> |
contextGenerateAdditionalJavaFiles()
This method can be used to generate any additional Java file needed by
your implementation.
|
List<GeneratedJavaFile> |
contextGenerateAdditionalJavaFiles(IntrospectedTable introspectedTable)
This method can be used to generate additional Java files needed by your
implementation that might be related to a specific table.
|
List<GeneratedXmlFile> |
contextGenerateAdditionalXmlFiles()
This method can be used to generate any additional XML file needed by
your implementation.
|
List<GeneratedXmlFile> |
contextGenerateAdditionalXmlFiles(IntrospectedTable introspectedTable)
This method can be used to generate additional XML files needed by your
implementation that might be related to a specific table.
|
Context |
getContext() |
Properties |
getProperties() |
void |
initialized(IntrospectedTable introspectedTable)
This method is called just before the getGeneratedXXXFiles methods are
called on the introspected table.
|
boolean |
modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the base record class is generated by the
JavaModelGenerator.
|
boolean |
modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the example class is generated by the
JavaModelGenerator.
|
boolean |
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 |
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 |
modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the primary key class is generated by the
JavaModelGenerator.
|
boolean |
modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the record with BLOBs class is generated by
the JavaModelGenerator.
|
boolean |
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 |
providerApplyWhereMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the applyWhere method has
been generated in the SQL provider.
|
boolean |
providerCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has
been generated in the SQL provider.
|
boolean |
providerDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has
been generated in the SQL provider.
|
boolean |
providerGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the SQL provider has been generated.
|
boolean |
providerInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insertSelective method has
been generated in the SQL provider.
|
boolean |
providerSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has
been generated in the SQL provider.
|
boolean |
providerSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
boolean |
providerUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has
been generated in the SQL provider.
|
boolean |
providerUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has
been generated in the SQL provider.
|
boolean |
providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has
been generated in the SQL provider.
|
boolean |
providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has
been generated in the SQL provider.
|
void |
setContext(Context context)
Set the context under which this plugin is running
|
void |
setProperties(Properties properties)
Set properties from the plugin configuration
|
boolean |
sqlMapBaseColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the baseColumnList element is generated.
|
boolean |
sqlMapBlobColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the blobColumnList element is generated.
|
boolean |
sqlMapCountByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the countByExample element is generated.
|
boolean |
sqlMapDeleteByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample element is generated.
|
boolean |
sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey element is generated.
|
boolean |
sqlMapDocumentGenerated(Document document,
IntrospectedTable introspectedTable)
This method is called when the SqlMap document has been generated.
|
boolean |
sqlMapExampleWhereClauseElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the exampleWhereClause element is generated.
|
boolean |
sqlMapGenerated(GeneratedXmlFile sqlMap,
IntrospectedTable introspectedTable)
This method is called when the SqlMap file has been generated.
|
boolean |
sqlMapInsertElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the insert element is generated.
|
boolean |
sqlMapInsertSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the insert selective element is generated.
|
boolean |
sqlMapResultMapWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the resultMap with BLOBs element is generated
- this resultMap will extend the base resultMap.
|
boolean |
sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the base resultMap is generated.
|
boolean |
sqlMapSelectAllElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectAll element is generated.
|
boolean |
sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs element is
generated.
|
boolean |
sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByExample element is generated.
|
boolean |
sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey element is generated.
|
boolean |
sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective element is
generated.
|
boolean |
sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs element is
generated.
|
boolean |
sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithourBLOBs element is
generated.
|
boolean |
sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective element is
generated.
|
boolean |
sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs element is
generated.
|
boolean |
sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs element is
generated.
|
protected Context context
protected Properties properties
public Context getContext()
public void setContext(Context context)
PluginsetContext 在接口中 Plugincontext - contextpublic Properties getProperties()
public void setProperties(Properties properties)
PluginsetProperties 在接口中 Pluginproperties - propertiespublic List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles()
PlugincontextGenerateAdditionalJavaFiles 在接口中 Pluginpublic List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles(IntrospectedTable introspectedTable)
PlugincontextGenerateAdditionalJavaFiles 在接口中 PluginintrospectedTable - The class containing information about the table as
introspected from the databasepublic List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles()
PlugincontextGenerateAdditionalXmlFiles 在接口中 Pluginpublic List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles(IntrospectedTable introspectedTable)
PlugincontextGenerateAdditionalXmlFiles 在接口中 PluginintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientCountByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientCountByExampleMethodGenerated 在接口中 Pluginmethod - the generated countByExample methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientCountByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientCountByExampleMethodGenerated 在接口中 Pluginmethod - the generated countByExample methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientDeleteByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientDeleteByExampleMethodGenerated 在接口中 Pluginmethod - the generated deleteByExample methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientDeleteByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientDeleteByExampleMethodGenerated 在接口中 Pluginmethod - the generated deleteByExample methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientDeleteByPrimaryKeyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientDeleteByPrimaryKeyMethodGenerated 在接口中 Pluginmethod - the generated deleteByPrimaryKey methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientDeleteByPrimaryKeyMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientDeleteByPrimaryKeyMethodGenerated 在接口中 Pluginmethod - the generated deleteByPrimaryKey methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientInsertMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientInsertMethodGenerated 在接口中 Pluginmethod - the generated insert methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientInsertMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientInsertMethodGenerated 在接口中 Pluginmethod - the generated insert methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientGenerated(Interface interfaze, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientGenerated 在接口中 Plugininterfaze - the generated interface if any, may be nulltopLevelClass - the generated implementation class if any, may be nullintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientSelectByExampleWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientSelectByExampleWithBLOBsMethodGenerated 在接口中 Pluginmethod - the generated selectByExampleWithBLOBs methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientSelectByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientSelectByExampleWithBLOBsMethodGenerated 在接口中 Pluginmethod - the generated selectByExampleWithBLOBs methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientSelectByExampleWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientSelectByExampleWithoutBLOBsMethodGenerated 在接口中 Pluginmethod - the generated selectByExampleWithoutBLOBs methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientSelectByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientSelectByExampleWithoutBLOBsMethodGenerated 在接口中 Pluginmethod - the generated selectByExampleWithoutBLOBs methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientSelectByPrimaryKeyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientSelectByPrimaryKeyMethodGenerated 在接口中 Pluginmethod - the generated selectByPrimaryKey methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientSelectByPrimaryKeyMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientSelectByPrimaryKeyMethodGenerated 在接口中 Pluginmethod - the generated selectByPrimaryKey methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByExampleSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientUpdateByExampleSelectiveMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleSelective methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByExampleSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientUpdateByExampleSelectiveMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleSelective methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByExampleWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientUpdateByExampleWithBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleWithBLOBs methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientUpdateByExampleWithBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleWithBLOBs methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientUpdateByExampleWithoutBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleWithoutBLOBs methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientUpdateByExampleWithoutBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleWithoutBLOBs methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientUpdateByPrimaryKeySelectiveMethodGenerated 在接口中 Pluginmethod - the generated updateByPrimaryKeySelective methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByPrimaryKeySelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientUpdateByPrimaryKeySelectiveMethodGenerated 在接口中 Pluginmethod - the generated updateByPrimaryKeySelective methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientUpdateByPrimaryKeyWithBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByPrimaryKeyWithBLOBs methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientUpdateByPrimaryKeyWithBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByPrimaryKeyWithBLOBs methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByPrimaryKeyWithoutBLOBs methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByPrimaryKeyWithBLOBs methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean modelBaseRecordClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginThis method is only guaranteed to be called by the default Java model generators. Other user supplied generators may, or may not, call this method.
modelBaseRecordClassGenerated 在接口中 PlugintopLevelClass - the generated base record classintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean modelExampleClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginThis method is only guaranteed to be called by the default Java model generators. Other user supplied generators may, or may not, call this method.
modelExampleClassGenerated 在接口中 PlugintopLevelClass - the generated example classintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean modelFieldGenerated(Field field, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
PluginmodelFieldGenerated 在接口中 Pluginfield - the field generated for the specified columntopLevelClass - the partially implemented model class. You can add additional
imported classes to the implementation class if necessary.introspectedColumn - The class containing information about the column related
to this field as introspected from the databaseintrospectedTable - The class containing information about the table as
introspected from the databasemodelClassType - the type of class that the field is generated forpublic boolean modelGetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
PluginmodelGetterMethodGenerated 在接口中 Pluginmethod - the getter, or accessor, method generated for the specified
columntopLevelClass - the partially implemented model class. You can add additional
imported classes to the implementation class if necessary.introspectedColumn - The class containing information about the column related
to this field as introspected from the databaseintrospectedTable - The class containing information about the table as
introspected from the databasemodelClassType - the type of class that the field is generated forpublic boolean modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginThis method is only guaranteed to be called by the Java model generators. Other user supplied generators may, or may not, call this method.
modelPrimaryKeyClassGenerated 在接口中 PlugintopLevelClass - the generated primary key classintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginThis method is only guaranteed to be called by the default Java model generators. Other user supplied generators may, or may not, call this method.
modelRecordWithBLOBsClassGenerated 在接口中 PlugintopLevelClass - the generated record with BLOBs classintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean modelSetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, Plugin.ModelClassType modelClassType)
PluginmodelSetterMethodGenerated 在接口中 Pluginmethod - the setter, or mutator, method generated for the specified
columntopLevelClass - the partially implemented model class. You can add additional
imported classes to the implementation class if necessary.introspectedColumn - The class containing information about the column related
to this field as introspected from the databaseintrospectedTable - The class containing information about the table as
introspected from the databasemodelClassType - the type of class that the field is generated forpublic boolean sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapResultMapWithoutBLOBsElementGenerated 在接口中 Pluginelement - the generated <resultMap> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapCountByExampleElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapCountByExampleElementGenerated 在接口中 Pluginelement - the generated <select> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapDeleteByExampleElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapDeleteByExampleElementGenerated 在接口中 Pluginelement - the generated <delete> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapDeleteByPrimaryKeyElementGenerated 在接口中 Pluginelement - the generated <delete> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapDocumentGenerated(Document document, IntrospectedTable introspectedTable)
PluginsqlMapDocumentGenerated 在接口中 Plugindocument - the generated document (note that this is the MyBatis generator's internal
Document class - not the w3c XML Document class)introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapExampleWhereClauseElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapExampleWhereClauseElementGenerated 在接口中 Pluginelement - the generated <sql> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapGenerated(GeneratedXmlFile sqlMap, IntrospectedTable introspectedTable)
PluginsqlMapGenerated 在接口中 PluginsqlMap - the generated file (containing the file name, package name,
and project name)introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapInsertElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapInsertElementGenerated 在接口中 Pluginelement - the generated <insert> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapResultMapWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapResultMapWithBLOBsElementGenerated 在接口中 Pluginelement - the generated <resultMap> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapSelectByExampleWithoutBLOBsElementGenerated 在接口中 Pluginelement - the generated <select> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapSelectByExampleWithBLOBsElementGenerated 在接口中 Pluginelement - the generated <select> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapSelectByPrimaryKeyElementGenerated 在接口中 Pluginelement - the generated <select> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapUpdateByExampleSelectiveElementGenerated 在接口中 Pluginelement - the generated <update> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapUpdateByExampleWithBLOBsElementGenerated 在接口中 Pluginelement - the generated <update> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapUpdateByExampleWithoutBLOBsElementGenerated 在接口中 Pluginelement - the generated <update> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapUpdateByPrimaryKeySelectiveElementGenerated 在接口中 Pluginelement - the generated <update> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated 在接口中 Pluginelement - the generated <update> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated 在接口中 Pluginelement - the generated <update> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapInsertSelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapInsertSelectiveElementGenerated 在接口中 Pluginelement - the generated <insert> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientInsertSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientInsertSelectiveMethodGenerated 在接口中 Pluginmethod - the generated insert methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientInsertSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientInsertSelectiveMethodGenerated 在接口中 Pluginmethod - the generated insert methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic void initialized(IntrospectedTable introspectedTable)
PluginA good example of overriding an attribute would be the case where a user wanted to change the name of one of the generated classes, change the target package, or change the name of the generated SQL map file.
Warning: Anything that is listed as an attribute should not be
changed by one of the other plugin methods. For example, if you want to
change the name of a generated example class, you should not simply
change the Type in the modelExampleClassGenerated() method.
If you do, the change will not be reflected in other generated artifacts.
initialized 在接口中 PluginintrospectedTable - introspectedTablepublic boolean sqlMapBaseColumnListElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapBaseColumnListElementGenerated 在接口中 Pluginelement - the generated <sql> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapBlobColumnListElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapBlobColumnListElementGenerated 在接口中 Pluginelement - the generated <sql> elementintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderGenerated 在接口中 PlugintopLevelClass - the generated providerintrospectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerApplyWhereMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderApplyWhereMethodGenerated 在接口中 Pluginmethod - the generated applyWhere methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerCountByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderCountByExampleMethodGenerated 在接口中 Pluginmethod - the generated countByExample methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerDeleteByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderDeleteByExampleMethodGenerated 在接口中 Pluginmethod - the generated deleteByExample methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerInsertSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderInsertSelectiveMethodGenerated 在接口中 Pluginmethod - the generated insertSelective methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerSelectByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderSelectByExampleWithBLOBsMethodGenerated 在接口中 Pluginmethod - the generated selectByExampleWithBLOBs methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerSelectByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderSelectByExampleWithoutBLOBsMethodGenerated 在接口中 Pluginmethod - the generated selectByExampleWithoutBLOBs methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerUpdateByExampleSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderUpdateByExampleSelectiveMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleSelective methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerUpdateByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderUpdateByExampleWithBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleWithBLOBs methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerUpdateByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderUpdateByExampleWithoutBLOBsMethodGenerated 在接口中 Pluginmethod - the generated updateByExampleWithoutBLOBs methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean providerUpdateByPrimaryKeySelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginproviderUpdateByPrimaryKeySelectiveMethodGenerated 在接口中 Pluginmethod - the generated updateByPrimaryKeySelective methodtopLevelClass - the partially generated provider class
You can add additional imported classes to the class
if necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientSelectAllMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
PluginclientSelectAllMethodGenerated 在接口中 Pluginmethod - the generated selectAll methodinterfaze - the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean clientSelectAllMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
PluginclientSelectAllMethodGenerated 在接口中 Pluginmethod - the generated selectAll methodtopLevelClass - the partially implemented client implementation class. You can
add additional imported classes to the implementation class if
necessary.introspectedTable - The class containing information about the table as
introspected from the databasepublic boolean sqlMapSelectAllElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
PluginsqlMapSelectAllElementGenerated 在接口中 Pluginelement - the generated <select> elementintrospectedTable - The class containing information about the table as
introspected from the databaseCopyright © 2017. All Rights Reserved.