org.apache.ibatis.abator.internal.java.dao
Class BaseLegacyDAOGenerator
java.lang.Object
org.apache.ibatis.abator.internal.java.dao.BaseDAOGenerator
org.apache.ibatis.abator.internal.java.dao.BaseLegacyDAOGenerator
- All Implemented Interfaces:
- DAOGenerator
- Direct Known Subclasses:
- GenericCILegacyDAOGenerator, GenericSILegacyDAOGenerator, IbatisLegacyDAOGenerator, SpringLegacyDAOGenerator
public class BaseLegacyDAOGenerator
- extends BaseDAOGenerator
- implements DAOGenerator
This class overrides the base DAO generator class to provide the legacy
implementarion of the "by example" methods.
This class can be removed when we remove the Legacy generator set.
- Author:
- Jeff Butler
Methods inherited from class org.apache.ibatis.abator.internal.java.dao.BaseDAOGenerator |
addConfigurationProperties, getDAOImplementation, getDAOImplementationType, getDAOInterface, getDAOInterfaceType, getDAOPackage, getDeleteByPrimaryKeyMethods, getGeneratedJavaFiles, getInsertMethods, getSelectByPrimaryKeyMethods, getUpdateByPrimaryKeySelectiveMethods, getUpdateByPrimaryKeyWithBLOBsMethods, getUpdateByPrimaryKeyWithoutBLOBsMethods, setJavaModelGenerator, setSqlMapGenerator, setTargetPackage, setTargetProject, setWarnings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseLegacyDAOGenerator
public BaseLegacyDAOGenerator(AbstractDAOTemplate daoTemplate)
getSelectByExampleWithoutBLOBsMethods
protected java.util.List getSelectByExampleWithoutBLOBsMethods(IntrospectedTable introspectedTable,
boolean interfaceMethod,
CompilationUnit compilationUnit)
- Overrides:
getSelectByExampleWithoutBLOBsMethods
in class BaseDAOGenerator
getSelectByExampleWithBLOBsMethods
protected java.util.List getSelectByExampleWithBLOBsMethods(IntrospectedTable introspectedTable,
boolean interfaceMethod,
CompilationUnit compilationUnit)
- Overrides:
getSelectByExampleWithBLOBsMethods
in class BaseDAOGenerator
getDeleteByExampleMethods
protected java.util.List getDeleteByExampleMethods(IntrospectedTable introspectedTable,
boolean interfaceMethod,
CompilationUnit compilationUnit)
- Overrides:
getDeleteByExampleMethods
in class BaseDAOGenerator
getExtraImplementationMethods
protected java.util.List getExtraImplementationMethods(IntrospectedTable introspectedTable,
CompilationUnit compilationUnit)
- Description copied from class:
BaseDAOGenerator
- Override this method to provide any extra methods needed in the
implementation class.
- Overrides:
getExtraImplementationMethods
in class BaseDAOGenerator
- Returns:
- a list of Method objects that will be added to the implementation
class. May be
null
.
addContextProperties
public void addContextProperties(java.util.Map properties)
- Description copied from interface:
DAOGenerator
- Adds properties for this instance from any properties configured
in the current context.
This method will be called before any of the get methods.
- Specified by:
addContextProperties
in interface DAOGenerator
- Overrides:
addContextProperties
in class BaseDAOGenerator
- Parameters:
properties
- All properties from the configuration