org.javaWebGen.util
Class GenerateController
java.lang.Object
org.javaWebGen.data.DAO
org.javaWebGen.util.CodeGenerator
org.javaWebGen.util.GenerateController
public class GenerateController
- extends CodeGenerator
Generated Web Controller Objects from the database config
creates a WebController and a implementation class. The
implementation class will be overwritten if it exist
- Version:
- $Revision: 1.2 $
- Author:
- Kevin Scott
Method Summary |
protected java.lang.String |
buldClass()
build class based on template |
protected java.lang.String |
buldSubClass()
build class based on template |
protected void |
execute()
|
void |
init()
run init code ie stuff to setup templates |
static void |
main(java.lang.String[] args)
main |
void |
useage()
print instruction on how to object from the command line to sysout |
Methods inherited from class org.javaWebGen.util.CodeGenerator |
getClassText, getColNames, getColTypes, getFileName, getFilePath, getPrimaryKeys, getPrimaryKeyTypes, getPrimayParmCast, getTableName, getTemplate, getVars, mapData, processFile, setCmdParms, setTableName |
Methods inherited from class org.javaWebGen.data.DAO |
close, getColumnClass, getConnection, getDataManager, getNextValue, getNextValue, getResultSet, query, query, query, query, runQuery, runQuery, runQuery, runQuery, setColumn, update, update, update, update, updateDataBean, updateDataBean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
BEAN_PACKAGE
public static final java.lang.String BEAN_PACKAGE
- See Also:
- Constant Field Values
GenerateController
public GenerateController()
init
public void init()
- Description copied from class:
CodeGenerator
- run init code ie stuff to setup templates
- Specified by:
init
in class CodeGenerator
buldClass
protected java.lang.String buldClass()
throws java.lang.Exception
- build class based on template
- Throws:
java.lang.Exception
buldSubClass
protected java.lang.String buldSubClass()
throws java.lang.Exception
- build class based on template
- Throws:
java.lang.Exception
execute
protected void execute()
throws UtilException
- Specified by:
execute
in class CodeGenerator
- Throws:
UtilException
main
public static void main(java.lang.String[] args)
- main
useage
public void useage()
- Description copied from class:
CodeGenerator
- print instruction on how to object from the command line to sysout
- Specified by:
useage
in class CodeGenerator
Copyright(C) 2003-2006 Kevin Scott - All Rights Reserved.