org.apache.turbine.torque
Class TorqueSQLTransformTask

org.apache.turbine.torque.TorqueSQLTransformTask

public class TorqueSQLTransformTask

An ant task for creating an xml schema from an sql schema

Version:
$Id$
Author:
Field Summary
private  java.lang.String inputFile
           
private  java.lang.String outputFile
           
 
Constructor Summary
TorqueSQLTransformTask()
           
 
Method Summary
 void execute()
           
 java.lang.String getInputFile()
          Get the current input file
 java.lang.String getOutputFile()
          Get the current output file.
 void setInputFile(java.lang.String v)
          Set the sql input file.
 void setOutputFile(java.lang.String v)
          Set the current output file.
 

Field Detail

inputFile

private java.lang.String inputFile

outputFile

private java.lang.String outputFile
Constructor Detail

TorqueSQLTransformTask

public TorqueSQLTransformTask()
Method Detail

getInputFile

public java.lang.String getInputFile()
Get the current input file

setInputFile

public void setInputFile(java.lang.String v)
Set the sql input file. This file must exist

getOutputFile

public java.lang.String getOutputFile()
Get the current output file.

setOutputFile

public void setOutputFile(java.lang.String v)
Set the current output file. If the file does not exist it will be created. If the file exists all it's contents will be replaced.

execute

public void execute()
             throws org.apache.tools.ant.BuildException


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.