|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IbatorPlugin
This interface defines methods that will be called by ibator at different times during the code generation process. These methods can be used to extend or modify the code generated by ibator. Clients may implement this interface in its entirety, or extend the IbatorPluginAdapter (highly recomended).
Plugins have a lifecycle. In general, the lifecycle is this:
Plugins are called, and initialized, in the same order they are specified in the configuration.
The daoXXX, modelXXX, and sqlMapXXX methods are called by the code generators supplied with ibator. If you replace ibator's default code generators with other implementations, these methods may not be called.
IbatorPluginAdapter
Nested Class Summary | |
---|---|
static class |
IbatorPlugin.ModelClassType
|
Method Summary | |
---|---|
java.util.List<GeneratedJavaFile> |
contextGenerateAdditionalJavaFiles()
This method can be used to generate any additional Java file needed by your implementation. |
java.util.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. |
java.util.List<GeneratedXmlFile> |
contextGenerateAdditionalXmlFiles()
This method can be used to generate any additional XML file needed by your implementation. |
java.util.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. |
boolean |
daoCountByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has been generated in the DAO interface class. |
boolean |
daoCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the countByExample method has been generated in the DAO implementation class. |
boolean |
daoDeleteByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has been generated in the DAO interface class. |
boolean |
daoDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample method has been generated in the DAO implementation class. |
boolean |
daoDeleteByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey method has been generated in the DAO interface class. |
boolean |
daoDeleteByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey method has been generated in the DAO implementation class. |
boolean |
daoImplementationGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the entire DAO implementation has been generated. |
boolean |
daoInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated in the DAO interface class. |
boolean |
daoInsertMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated in the DAO implementation class. |
boolean |
daoInsertSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert selective method has been generated in the DAO interface class. |
boolean |
daoInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the insert selective method has been generated in the DAO implementation class. |
boolean |
daoInterfaceGenerated(Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the entire DAO interface has been generated. |
boolean |
daoSelectByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has been generated in the DAO interface class. |
boolean |
daoSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs method has been generated in the DAO implementation class. |
boolean |
daoSelectByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has been generated in the DAO interface class. |
boolean |
daoSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithoutBLOBs method has been generated in the DAO implementation class. |
boolean |
daoSelectByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey method has been generated in the DAO interface class. |
boolean |
daoSelectByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey method has been generated in the DAO implementation class. |
boolean |
daoUpdateByExampleSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has been generated in the DAO interface class. |
boolean |
daoUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective method has been generated in the DAO implementation class. |
boolean |
daoUpdateByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has been generated in the DAO interface class. |
boolean |
daoUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs method has been generated in the DAO implementation class. |
boolean |
daoUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has been generated in the DAO interface class. |
boolean |
daoUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithoutBLOBs method has been generated in the DAO implementation class. |
boolean |
daoUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has been generated in the DAO interface class. |
boolean |
daoUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective method has been generated in the DAO implementation class. |
boolean |
daoUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs method has been generated in the DAO interface class. |
boolean |
daoUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs method has been generated in the DAO implementation class. |
boolean |
daoUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs method has been generated in the DAO interface class. |
boolean |
daoUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs method has been generated in the DAO implementation class. |
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 ibator supplied JavaModelGenerator. |
boolean |
modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the example class is generated by the ibator supplied JavaModelGenerator. |
boolean |
modelFieldGenerated(Field field,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
IbatorPlugin.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,
IbatorPlugin.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 ibator supplied JavaModelGenerator. |
boolean |
modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
This method is called after the record with BLOBs class is generated by the ibator supplied JavaModelGenerator. |
boolean |
modelSetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
IbatorPlugin.ModelClassType modelClassType)
This method is called after the setter, or mutator, method is generated for a specific column in a table. |
void |
setIbatorContext(IbatorContext ibatorContext)
Set the context under which this plugin is running |
void |
setProperties(java.util.Properties properties)
Set properties from the plugin configuration |
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 |
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. |
boolean |
validate(java.util.List<java.lang.String> warnings)
This method is called after all the setXXX methods are called, but before any other method is called. |
Method Detail |
---|
void setIbatorContext(IbatorContext ibatorContext)
ibatorContext
- void setProperties(java.util.Properties properties)
properties
- void initialized(IntrospectedTable introspectedTable)
A 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.
introspectedTable
- boolean validate(java.util.List<java.lang.String> warnings)
warnings
- add strings to this list to specify warnings. For example,
if the plugin is invalid, you should specify why. Warnings are reported
to users after the completion of the ibator run.
java.util.List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles()
java.util.List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles(IntrospectedTable introspectedTable)
introspectedTable
- ibator's class containing information
about the table as introspected from the database
java.util.List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles()
java.util.List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles(IntrospectedTable introspectedTable)
introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoInterfaceGenerated(Interface interfaze, IntrospectedTable introspectedTable)
interfaze
- the generated interfaceintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoImplementationGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated implementation classintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoCountByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated countByExample methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoDeleteByExampleMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated deleteByExample methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoDeleteByPrimaryKeyMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated deleteByPrimaryKey methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoInsertMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated insert methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoInsertSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated insert methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoSelectByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated selectByExampleWithBLOBs methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoSelectByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated selectByExampleWithoutBLOBs methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoSelectByPrimaryKeyMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated selectByPrimaryKey methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByExampleSelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByExampleSelective methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByExampleWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByExampleWithBLOBs methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByExampleWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByExampleWithoutBLOBs methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByPrimaryKeySelectiveMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeySelective methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeyWithBLOBs methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeyWithBLOBs methodtopLevelClass
- the partially implemented DAO implementation
class. You can add additional imported classes to the
implementation class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoCountByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated countByExample methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoDeleteByExampleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated deleteByExample methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoDeleteByPrimaryKeyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated deleteByPrimaryKey methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoInsertMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated insert methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoInsertSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated insert methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoSelectByExampleWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectByExampleWithBLOBs methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoSelectByExampleWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectByExampleWithoutBLOBs methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoSelectByPrimaryKeyMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated selectByPrimaryKey methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByExampleSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByExampleSelective methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByExampleWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByExampleWithBLOBs methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByExampleWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByExampleWithoutBLOBs methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByPrimaryKeySelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeySelective methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeyWithBLOBs methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean daoUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
method
- the generated updateByPrimaryKeyWithoutBLOBs methodinterfaze
- the partially implemented DAO interface
class. You can add additional imported classes to the
interface class if necessary.introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean modelFieldGenerated(Field field, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, IbatorPlugin.ModelClassType modelClassType)
field
- 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
- ibator's class containing information
about the column related to this field as introspected from
the databaseintrospectedTable
- ibator's class containing information
about the table as introspected from the databasemodelClassType
- the type of class that the field is generated
for
boolean modelGetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, IbatorPlugin.ModelClassType modelClassType)
method
- 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
- ibator's class containing information
about the column related to this field as introspected from
the databaseintrospectedTable
- ibator's class containing information
about the table as introspected from the databasemodelClassType
- the type of class that the field is generated
for
boolean modelSetterMethodGenerated(Method method, TopLevelClass topLevelClass, IntrospectedColumn introspectedColumn, IntrospectedTable introspectedTable, IbatorPlugin.ModelClassType modelClassType)
method
- 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
- ibator's class containing information
about the column related to this field as introspected from
the databaseintrospectedTable
- ibator's class containing information
about the table as introspected from the databasemodelClassType
- the type of class that the field is generated
for
boolean modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated primary key classintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean modelBaseRecordClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated base record classintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated record with BLOBs classintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean modelExampleClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable)
topLevelClass
- the generated example classintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapGenerated(GeneratedXmlFile sqlMap, IntrospectedTable introspectedTable)
sqlMap
- the generated file (containing the file name,
package name, and project name)introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapDocumentGenerated(Document document, IntrospectedTable introspectedTable)
document
- the generated document (note that this is ibator's
internal Document class - not the w3c XML Document class)introspectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <resultMap> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapCountByExampleElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapDeleteByExampleElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <delete> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <delete> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapExampleWhereClauseElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <sql> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapInsertElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <insert> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapInsertSelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <insert> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapResultMapWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <resultMap> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <select> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
boolean sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable)
element
- the generated <update> elementintrospectedTable
- ibator's class containing information
about the table as introspected from the database
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |