net.sourceforge.anttestsetgen
Class Query

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bynet.sourceforge.anttestsetgen.Query

public class Query
extends org.apache.tools.ant.Task

The query object contains the query that will be executed to retrieve the results from the database.

Version:
$Id: Query.java,v 1.4 2004/01/04 15:00:18 mcjansen Exp $
Author:
Marco Jansen (Contrado Technologies)

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
Query()
           
 
Method Summary
 void addText(java.lang.String text)
          Add a line of text to the query.
 java.lang.String toString()
          Retrieve the query as a string and replace properties.
 
Methods inherited from class org.apache.tools.ant.Task
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query

public Query()
Method Detail

addText

public void addText(java.lang.String text)
Add a line of text to the query. If there are any properties, they will be replaced.

Parameters:
text - A line of text that should be added to the query.

toString

public java.lang.String toString()
Retrieve the query as a string and replace properties.

Returns:
A string with the query.


Copyright © 2003-2004 Marco Jansen (Contrado Technologies). All Rights Reserved.