org.apache.ibatis.abator.internal.java
Class DAOGeneratorSpringImpl

java.lang.Object
  extended byorg.apache.ibatis.abator.internal.java.BaseJavaCodeGenerator
      extended byorg.apache.ibatis.abator.internal.java.DAOGeneratorBaseImpl
          extended byorg.apache.ibatis.abator.internal.java.DAOGeneratorSpringImpl
All Implemented Interfaces:
DAOGenerator

public class DAOGeneratorSpringImpl
extends DAOGeneratorBaseImpl

This class generates DAO classes based on the Spring Framework DAO support.

Author:
Jeff Butler

Field Summary
 
Fields inherited from class org.apache.ibatis.abator.internal.java.DAOGeneratorBaseImpl
daoGeneratorTemplate, javaModelGenerator, properties, sqlMapGenerator, targetPackage, targetProject, warnings
 
Fields inherited from class org.apache.ibatis.abator.internal.java.BaseJavaCodeGenerator
lineSeparator
 
Constructor Summary
DAOGeneratorSpringImpl()
           
 
Method Summary
 DAOGeneratorTemplate getDAOGeneratorTemplate()
          Returns the template used to generate DAOs from the implementing final class.
 
Methods inherited from class org.apache.ibatis.abator.internal.java.DAOGeneratorBaseImpl
getDAOImplementation, getDAOImplementationType, getDAOInterface, getDAOInterfaceType, getDAOPackage, getDeleteByExampleMethods, getDeleteByPrimaryKeyMethods, getExampleParmsMethod, getGeneratedJavaFiles, getGetExampleParmsMethods, getInsertMethods, getSelectByExampleMethods, getSelectByExampleWithBLOBsMethods, getSelectByPrimaryKeyMethods, getUpdateByPrimaryKeyMethods, getUpdateByPrimaryKeyWithBLOBsMethods, setJavaModelGenerator, setProperties, setSqlMapGenerator, setTargetPackage, setTargetProject, setWarnings
 
Methods inherited from class org.apache.ibatis.abator.internal.java.BaseJavaCodeGenerator
getFieldComment, getFieldComment, getGetterMethodComment, getMethodComment, getMethodComment, getSetterMethodComment, indent, newLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOGeneratorSpringImpl

public DAOGeneratorSpringImpl()
Method Detail

getDAOGeneratorTemplate

public DAOGeneratorTemplate getDAOGeneratorTemplate()
Description copied from class: DAOGeneratorBaseImpl
Returns the template used to generate DAOs from the implementing final class. This method will be called before any other method in the class is called, and will only be called once.

Specified by:
getDAOGeneratorTemplate in class DAOGeneratorBaseImpl
Returns:
the DAOGeneraotrTemplate used for this instance