Class Query

java.lang.Object
org.dbunit.ant.Query

public class Query extends Object
The Query class is just a step placeholder for a table name within an Export.
Since:
Dec 10, 2002
Version:
$Revision$
Author:
Eric Pugh
  • Constructor Details

    • Query

      public Query()
      Default constructor.
  • Method Details

    • getName

      public String getName()
      Returns the table name.
      Returns:
      the table name.
    • setName

      public void setName(String name)
      Sets the table name.
      Parameters:
      name - the table name.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSql

      public String getSql()
      Returns the query's SQL.
      Returns:
      the query's SQL.
    • setSql

      public void setSql(String sql)
      Sets the query's SQL.
      Parameters:
      sql - the query's SQL.