|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ibatis.ibator.api.IbatorPluginAdapter
public abstract class IbatorPluginAdapter
This class includes no-operation methods for almost every method in the IbatorPlugin interface. Clients may extend this class to implement some or all of the methods in a plugin.
This adapter does not implement the validate method - all plugins must perform validation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.ibatis.ibator.api.IbatorPlugin |
|---|
IbatorPlugin.ModelClassType |
| Field Summary | |
|---|---|
protected IbatorContext |
ibatorContext
|
protected java.util.Properties |
properties
|
| Constructor Summary | |
|---|---|
IbatorPluginAdapter()
|
|
| 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. |
IbatorContext |
getIbatorContext()
|
java.util.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 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.ibatis.ibator.api.IbatorPlugin |
|---|
validate |
| Field Detail |
|---|
protected IbatorContext ibatorContext
protected java.util.Properties properties
| Constructor Detail |
|---|
public IbatorPluginAdapter()
| Method Detail |
|---|
public IbatorContext getIbatorContext()
public void setIbatorContext(IbatorContext ibatorContext)
IbatorPlugin
setIbatorContext in interface IbatorPluginpublic java.util.Properties getProperties()
public void setProperties(java.util.Properties properties)
IbatorPlugin
setProperties in interface IbatorPluginpublic java.util.List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles()
IbatorPlugin
contextGenerateAdditionalJavaFiles in interface IbatorPluginpublic java.util.List<GeneratedJavaFile> contextGenerateAdditionalJavaFiles(IntrospectedTable introspectedTable)
IbatorPlugin
contextGenerateAdditionalJavaFiles in interface IbatorPluginintrospectedTable - ibator's class containing information
about the table as introspected from the database
public java.util.List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles()
IbatorPlugin
contextGenerateAdditionalXmlFiles in interface IbatorPluginpublic java.util.List<GeneratedXmlFile> contextGenerateAdditionalXmlFiles(IntrospectedTable introspectedTable)
IbatorPlugin
contextGenerateAdditionalXmlFiles in interface IbatorPluginintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean daoCountByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoCountByExampleMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoCountByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoCountByExampleMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoDeleteByExampleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoDeleteByExampleMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoDeleteByExampleMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoDeleteByExampleMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoDeleteByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoDeleteByPrimaryKeyMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoDeleteByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoDeleteByPrimaryKeyMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoImplementationGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoImplementationGenerated in interface IbatorPlugintopLevelClass - the generated implementation classintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean daoInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoInsertMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoInsertMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoInsertMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoInterfaceGenerated(Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoInterfaceGenerated in interface IbatorPlugininterfaze - the generated interfaceintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean daoSelectByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoSelectByExampleWithBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoSelectByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoSelectByExampleWithBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoSelectByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoSelectByExampleWithoutBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoSelectByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoSelectByExampleWithoutBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoSelectByPrimaryKeyMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoSelectByPrimaryKeyMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoSelectByPrimaryKeyMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoSelectByPrimaryKeyMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByExampleSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByExampleSelectiveMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByExampleSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByExampleSelectiveMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByExampleWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByExampleWithBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByExampleWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByExampleWithBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByExampleWithoutBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByExampleWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByExampleWithoutBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByPrimaryKeySelectiveMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByPrimaryKeySelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByPrimaryKeySelectiveMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByPrimaryKeyWithBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByPrimaryKeyWithBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByPrimaryKeyWithoutBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoUpdateByPrimaryKeyWithoutBLOBsMethodGenerated in interface IbatorPluginmethod - 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
public boolean modelBaseRecordClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
modelBaseRecordClassGenerated in interface IbatorPlugintopLevelClass - the generated base record classintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean modelExampleClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
modelExampleClassGenerated in interface IbatorPlugintopLevelClass - the generated example classintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean modelFieldGenerated(Field field,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
IbatorPlugin.ModelClassType modelClassType)
IbatorPlugin
modelFieldGenerated in interface IbatorPluginfield - 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
public boolean modelGetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
IbatorPlugin.ModelClassType modelClassType)
IbatorPlugin
modelGetterMethodGenerated in interface IbatorPluginmethod - 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
public boolean modelPrimaryKeyClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
modelPrimaryKeyClassGenerated in interface IbatorPlugintopLevelClass - the generated primary key classintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean modelRecordWithBLOBsClassGenerated(TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
modelRecordWithBLOBsClassGenerated in interface IbatorPlugintopLevelClass - the generated record with BLOBs classintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean modelSetterMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
IbatorPlugin.ModelClassType modelClassType)
IbatorPlugin
modelSetterMethodGenerated in interface IbatorPluginmethod - 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
public boolean sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapResultMapWithoutBLOBsElementGenerated in interface IbatorPluginelement - the generated <resultMap> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapCountByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapCountByExampleElementGenerated in interface IbatorPluginelement - the generated <select> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapDeleteByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapDeleteByExampleElementGenerated in interface IbatorPluginelement - the generated <delete> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapDeleteByPrimaryKeyElementGenerated in interface IbatorPluginelement - the generated <delete> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapDocumentGenerated(Document document,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapDocumentGenerated in interface IbatorPlugindocument - 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
public boolean sqlMapExampleWhereClauseElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapExampleWhereClauseElementGenerated in interface IbatorPluginelement - the generated <sql> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapGenerated(GeneratedXmlFile sqlMap,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapGenerated in interface IbatorPluginsqlMap - 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
public boolean sqlMapInsertElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapInsertElementGenerated in interface IbatorPluginelement - the generated <insert> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapResultMapWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapResultMapWithBLOBsElementGenerated in interface IbatorPluginelement - the generated <resultMap> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapSelectByExampleWithoutBLOBsElementGenerated in interface IbatorPluginelement - the generated <select> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapSelectByExampleWithBLOBsElementGenerated in interface IbatorPluginelement - the generated <select> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapSelectByPrimaryKeyElementGenerated in interface IbatorPluginelement - the generated <select> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapUpdateByExampleSelectiveElementGenerated in interface IbatorPluginelement - the generated <update> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapUpdateByExampleWithBLOBsElementGenerated in interface IbatorPluginelement - the generated <update> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapUpdateByExampleWithoutBLOBsElementGenerated in interface IbatorPluginelement - the generated <update> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapUpdateByPrimaryKeySelectiveElementGenerated in interface IbatorPluginelement - the generated <update> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated in interface IbatorPluginelement - the generated <update> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated in interface IbatorPluginelement - the generated <update> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean sqlMapInsertSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
IbatorPlugin
sqlMapInsertSelectiveElementGenerated in interface IbatorPluginelement - the generated <insert> elementintrospectedTable - ibator's class containing information
about the table as introspected from the database
public boolean daoInsertSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
IbatorPlugin
daoInsertSelectiveMethodGenerated in interface IbatorPluginmethod - 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
public boolean daoInsertSelectiveMethodGenerated(Method method,
TopLevelClass topLevelClass,
IntrospectedTable introspectedTable)
IbatorPlugin
daoInsertSelectiveMethodGenerated in interface IbatorPluginmethod - 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
public void initialized(IntrospectedTable introspectedTable)
IbatorPluginA 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 in interface IbatorPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||