org.apache.ibatis.abator.internal.java
Class DAOGeneratorTemplate
java.lang.Object
org.apache.ibatis.abator.internal.java.DAOGeneratorTemplate
- public class DAOGeneratorTemplate
- extends java.lang.Object
This class holds values that are used by the DAOGeneratorBaseImpl class to
generate DAOs. The values in this class can be used to alter the generated
DAOs.
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAOGeneratorTemplate
public DAOGeneratorTemplate()
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
public void setConstructorTemplate(java.lang.String constructorTemplate)
setDeleteMethod
public void setDeleteMethod(java.lang.String deleteMethod)
addField
public void addField(java.lang.String field)
setInsertMethod
public void setInsertMethod(java.lang.String insertMethod)
addMethod
public void addMethod(java.lang.String method)
setQueryForListMethod
public void setQueryForListMethod(java.lang.String queryForListMethod)
setQueryForObjectMethod
public void setQueryForObjectMethod(java.lang.String queryForObjectMethod)
setSuperClass
public void setSuperClass(FullyQualifiedJavaType superClass)
setUpdateMethod
public void setUpdateMethod(java.lang.String updateMethod)
addInterfaceImport
public void addInterfaceImport(FullyQualifiedJavaType type)
addImplementationImport
public void addImplementationImport(FullyQualifiedJavaType type)
addCheckedException
public void addCheckedException(FullyQualifiedJavaType type)