|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.velocity.texen.ant.TexenTask
org.apache.torque.task.TorqueDataModelTask
org.apache.torque.task.TorqueSQLTask
An extended Texen task used for generating SQL source from an XML schema describing a database structure.
Field Summary |
Fields inherited from class org.apache.torque.task.TorqueDataModelTask |
context, databaseNames, dataModelDbMap, dataModels, filesets, sqldbmap, xmlFile |
Fields inherited from class org.apache.velocity.texen.ant.TexenTask |
contextProperties, controlTemplate, inputEncoding, logFile, outputDirectory, outputEncoding, outputFile, resourceLoaderModificationCheckInterval, templatePath, useClasspath, useResourceLoaderCache |
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Constructor Summary | |
TorqueSQLTask()
|
Method Summary | |
java.lang.String |
getDatabase()
|
java.lang.String |
getIdTableXMLFile()
Gets the id-table xml schema file path. |
java.lang.String |
getSuffix()
|
org.apache.velocity.context.Context |
initControlContext()
Place our target database and target platform values into the context for use in the templates. |
void |
loadIdBrokerModel()
Create the database model necessary for the IDBroker tables. |
void |
setDatabase(java.lang.String database)
|
void |
setIdTableXMLFile(java.lang.String idXmlFile)
Set the path to the xml schema file that defines the id-table, used by the idbroker method. |
void |
setSuffix(java.lang.String suffix)
|
Methods inherited from class org.apache.torque.task.TorqueDataModelTask |
addFileset, getBasePathToDbProps, getDataModelDbMap, getDataModels, getSqlDbMap, getTargetDatabase, getTargetPackage, getXmlFile, setBasePathToDbProps, setContextProperties, setSqlDbMap, setTargetDatabase, setTargetPackage, setXmlFile |
Methods inherited from class org.apache.velocity.texen.ant.TexenTask |
cleanup, execute, getContextProperties, getControlTemplate, getLogFile, getOutputDirectory, getOutputFile, getTemplatePath, populateInitialContext, setControlTemplate, setInputEncoding, setLogFile, setOutputDirectory, setOutputEncoding, setOutputFile, setResourceLoaderModificationCheckInterval, setTemplatePath, setUseClasspath, setUseResourceLoaderCache |
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TorqueSQLTask()
Method Detail |
public void setDatabase(java.lang.String database)
database
- public java.lang.String getDatabase()
public void setSuffix(java.lang.String suffix)
suffix
- public java.lang.String getSuffix()
public void setIdTableXMLFile(java.lang.String idXmlFile)
idXmlFile
- xml schema filepublic java.lang.String getIdTableXMLFile()
public void loadIdBrokerModel() throws EngineException
EngineException
public org.apache.velocity.context.Context initControlContext() throws java.lang.Exception
initControlContext
in class TorqueDataModelTask
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |