org.apache.ibatis.abator.internal.java.dao
Class AbstractDAOTemplate
java.lang.Object
org.apache.ibatis.abator.internal.java.BaseJavaCodeGenerator
org.apache.ibatis.abator.internal.java.dao.AbstractDAOTemplate
- Direct Known Subclasses:
- GenericCIDAOTemplate, GenericSIDAOTemplate, IbatisDAOTemplate, SpringDAOTemplate
- public abstract class AbstractDAOTemplate
- extends BaseJavaCodeGenerator
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDAOTemplate
public AbstractDAOTemplate()
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)