TorqueSQLTask |
public class TorqueSQLTask extends TorqueDataModelTask (Code) |
| An extended Texen task used for generating SQL source from
an XML schema describing a database structure.
author: Jason van Zyl author: String | getDatabase() Returns the name of the database to generate sql for. |
public String | getIdTableXMLFile() Gets the id-table xml schema file path. |
public String | getSuffix() Returns the suffix of the generated sql files. |
public Context | initControlContext() Place our target database and target platform
values into the context for use in the templates. |
public void | loadIdBrokerModel() Create the database model necessary for the IDBroker tables.
We use the model to generate the necessary SQL to create
these tables. |
public void | setDatabase(String database) Sets the name of the database to generate sql for. |
public void | setIdTableXMLFile(String idXmlFile) Set the path to the xml schema file that defines the id-table, used
by the idbroker method. |
public void | setSuffix(String suffix) Sets the suffix of the generated sql files. |