|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DAOGenerator
The DAOGenerator interface describes the methods needed to generate DAO objects for a table.
Method Summary | |
---|---|
void |
addConfigurationProperties(java.util.Properties properties)
Adds properties for this instance from any properties configured in the DAOGeneratorConfiguration. |
java.util.List |
getGeneratedJavaFiles(IntrospectedTable introspectedTable,
ProgressCallback callback)
This method returns a list of GenerateJavaFile objects. |
void |
setAbatorContext(AbatorContext abatorContext)
Sets the instance of the AbatorConfiguration object associated with this instance. |
void |
setJavaModelGenerator(JavaModelGenerator javaModelGenerator)
Sets the instance of JavaModelGenerator associated with this instance. |
void |
setSqlMapGenerator(SqlMapGenerator sqlMapGenerator)
Sets the instance of SqlMapGenerator associated with this instance. |
void |
setTargetPackage(java.lang.String targetPackage)
Sets the target package for this instance. |
void |
setTargetProject(java.lang.String targetProject)
|
void |
setWarnings(java.util.List warnings)
Abator will supply a list to this method. |
Method Detail |
---|
void addConfigurationProperties(java.util.Properties properties)
properties
- All properties from the configurationvoid setAbatorContext(AbatorContext abatorContext)
abatorContext
- The current AbatorContextvoid setWarnings(java.util.List warnings)
warnings
- void setTargetPackage(java.lang.String targetPackage)
targetPackage
- The target package from the configurationvoid setTargetProject(java.lang.String targetProject)
targetProject
- void setJavaModelGenerator(JavaModelGenerator javaModelGenerator)
javaModelGenerator
- The JavaModelGenerator associated with this instancevoid setSqlMapGenerator(SqlMapGenerator sqlMapGenerator)
sqlMapGenerator
- The SqlMapGenerator associated with this instancejava.util.List getGeneratedJavaFiles(IntrospectedTable introspectedTable, ProgressCallback callback)
introspectedTable
- callback
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |