org.apache.turbine.torque
Class TorqueDataSQLTask

org.apache.turbine.torque.TorqueDataModelTask
  |
  +--org.apache.turbine.torque.TorqueDataSQLTask

Deprecated. use turbine-torque

public class TorqueDataSQLTask
extends TorqueDataModelTask

An extended Texen task used for generating SQL source from an XML data file

Version:
$Id: TorqueDataSQLTask.java,v 1.3 2002/02/16 19:40:36 mpoeschl Exp $
Author:
Jason van Zyl , John McNally , Fedor Karpelevitch

Field Summary
private  java.lang.String dataDTD
          Deprecated.  
private  java.lang.String dataXmlFile
          Deprecated.  
private  java.lang.String targetDatabase
          Deprecated. The target database(s) we are generating SQL for.
 
Fields inherited from class org.apache.turbine.torque.TorqueDataModelTask
context, databaseNames, dataModelDbMap, dataModels, filesets, sqldbmap, xmlFile
 
Constructor Summary
TorqueDataSQLTask()
          Deprecated.  
 
Method Summary
 java.lang.String getDataDTD()
          Deprecated. Gets the DataDTD attribute of the TorqueDataSQLTask object
 java.lang.String getDataXmlFile()
          Deprecated. Gets the DataXmlFile attribute of the TorqueDataSQLTask object
 java.lang.String getTargetDatabase()
          Deprecated. Get the current target database.
 org.apache.velocity.context.Context initControlContext()
          Deprecated. Set up the initialial context for generating the SQL from the XML schema.
 void setDataDTD(java.lang.String v)
          Deprecated. Sets the DataDTD attribute of the TorqueDataSQLTask object
 void setDataXmlFile(java.lang.String v)
          Deprecated. Sets the DataXmlFile attribute of the TorqueDataSQLTask object
 void setTargetDatabase(java.lang.String v)
          Deprecated. Set the current target database.
 
Methods inherited from class org.apache.turbine.torque.TorqueDataModelTask
addFileset, getDataModelDbMap, getDataModels, getSqlDbMap, getXmlFile, grokName, setSqlDbMap, setXmlFile
 

Field Detail

dataXmlFile

private java.lang.String dataXmlFile
Deprecated. 

dataDTD

private java.lang.String dataDTD
Deprecated. 

targetDatabase

private java.lang.String targetDatabase
Deprecated. 
The target database(s) we are generating SQL for. Right now we can only deal with a single target, but we will support multiple targets soon.
Constructor Detail

TorqueDataSQLTask

public TorqueDataSQLTask()
Deprecated. 
Method Detail

setDataXmlFile

public void setDataXmlFile(java.lang.String v)
Deprecated. 
Sets the DataXmlFile attribute of the TorqueDataSQLTask object
Parameters:
v - The new DataXmlFile value

getDataXmlFile

public java.lang.String getDataXmlFile()
Deprecated. 
Gets the DataXmlFile attribute of the TorqueDataSQLTask object
Returns:
The DataXmlFile value

getTargetDatabase

public java.lang.String getTargetDatabase()
Deprecated. 
Get the current target database.
Returns:
String target database(s)

setTargetDatabase

public void setTargetDatabase(java.lang.String v)
Deprecated. 
Set the current target database. This is where generated java classes will live.
Parameters:
v - The new TargetDatabase value

getDataDTD

public java.lang.String getDataDTD()
Deprecated. 
Gets the DataDTD attribute of the TorqueDataSQLTask object
Returns:
The DataDTD value

setDataDTD

public void setDataDTD(java.lang.String v)
Deprecated. 
Sets the DataDTD attribute of the TorqueDataSQLTask object
Parameters:
v - The new DataDTD value

initControlContext

public org.apache.velocity.context.Context initControlContext()
                                                       throws java.lang.Exception
Deprecated. 
Set up the initialial context for generating the SQL from the XML schema.
Overrides:
initControlContext in class TorqueDataModelTask
Returns:
Description of the Returned Value


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.