org.apache.ibatis.abator.internal.java.dao
Class AbstractDAOTemplate

java.lang.Object
  extended byorg.apache.ibatis.abator.internal.java.BaseJavaCodeGenerator
      extended byorg.apache.ibatis.abator.internal.java.dao.AbstractDAOTemplate
Direct Known Subclasses:
GenericCIDAOTemplate, GenericSIDAOTemplate, IbatisDAOTemplate, SpringDAOTemplate

public abstract class AbstractDAOTemplate
extends BaseJavaCodeGenerator

Author:
Jeff Butler

Field Summary
 
Fields inherited from class org.apache.ibatis.abator.internal.java.BaseJavaCodeGenerator
lineSeparator
 
Constructor Summary
AbstractDAOTemplate()
           
 
Method Summary
protected  void addCheckedException(FullyQualifiedJavaType type)
           
protected  void addField(java.lang.String field)
           
protected  void addImplementationImport(FullyQualifiedJavaType type)
           
protected  void addInterfaceImport(FullyQualifiedJavaType type)
           
protected  void addMethod(java.lang.String method)
           
 java.util.List getCheckedExceptions()
           
 java.lang.String getConstructor(FullyQualifiedJavaType type)
           
 java.lang.String getConstructorTemplate()
           
 java.lang.String getDeleteMethod()
           
 java.util.List getFields()
           
 java.util.List getImplementationImports()
           
 java.lang.String getInsertMethod()
           
 java.util.List getInterfaceImports()
           
 java.util.List getMethods()
           
 java.lang.String getQueryForListMethod()
           
 java.lang.String getQueryForObjectMethod()
           
 FullyQualifiedJavaType getSuperClass()
           
 java.lang.String getUpdateMethod()
           
protected  void setConstructorTemplate(java.lang.String constructorTemplate)
           
protected  void setDeleteMethod(java.lang.String deleteMethod)
           
protected  void setInsertMethod(java.lang.String insertMethod)
           
protected  void setQueryForListMethod(java.lang.String queryForListMethod)
           
protected  void setQueryForObjectMethod(java.lang.String queryForObjectMethod)
           
protected  void setSuperClass(FullyQualifiedJavaType superClass)
           
protected  void setUpdateMethod(java.lang.String updateMethod)
           
 
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

AbstractDAOTemplate

public AbstractDAOTemplate()
Method Detail

getConstructor

public java.lang.String getConstructor(FullyQualifiedJavaType type)

getDeleteMethod

public java.lang.String getDeleteMethod()

getInterfaceImports

public java.util.List getInterfaceImports()

getImplementationImports

public java.util.List getImplementationImports()

getInsertMethod

public java.lang.String getInsertMethod()

getQueryForListMethod

public java.lang.String getQueryForListMethod()

getQueryForObjectMethod

public java.lang.String getQueryForObjectMethod()

getSuperClass

public FullyQualifiedJavaType getSuperClass()

getUpdateMethod

public java.lang.String getUpdateMethod()

getCheckedExceptions

public java.util.List getCheckedExceptions()

getFields

public java.util.List getFields()

getMethods

public java.util.List getMethods()

getConstructorTemplate

public java.lang.String getConstructorTemplate()

setConstructorTemplate

protected void setConstructorTemplate(java.lang.String constructorTemplate)

setDeleteMethod

protected void setDeleteMethod(java.lang.String deleteMethod)

addField

protected void addField(java.lang.String field)

setInsertMethod

protected void setInsertMethod(java.lang.String insertMethod)

addMethod

protected void addMethod(java.lang.String method)

setQueryForListMethod

protected void setQueryForListMethod(java.lang.String queryForListMethod)

setQueryForObjectMethod

protected void setQueryForObjectMethod(java.lang.String queryForObjectMethod)

setSuperClass

protected void setSuperClass(FullyQualifiedJavaType superClass)

setUpdateMethod

protected void setUpdateMethod(java.lang.String updateMethod)

addInterfaceImport

protected void addInterfaceImport(FullyQualifiedJavaType type)

addImplementationImport

protected void addImplementationImport(FullyQualifiedJavaType type)

addCheckedException

protected void addCheckedException(FullyQualifiedJavaType type)