rjw.dc.db
Class QueryWhat

java.lang.Object
  |
  +--rjw.dc.db.QueryWhat

public class QueryWhat
extends java.lang.Object

Specifies on which table, with which fields, the query is run

Since:
1.3
Version:
DC0.50
Author:
Robert-Jan van der Waals

Constructor Summary
QueryWhat(java.lang.String[] columns, java.lang.String sTableName)
          Initializes the query what
 
Method Summary
 java.util.Vector getColumns()
          Returns the list of column names
 java.lang.String getTableName()
          Returns the tablename
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryWhat

public QueryWhat(java.lang.String[] columns,
                 java.lang.String sTableName)
Initializes the query what

Parameters:
columns - the column names of the database
sTableName - database name
Method Detail

getColumns

public java.util.Vector getColumns()
Returns the list of column names

Returns:
(String[]) column names

getTableName

public java.lang.String getTableName()
Returns the tablename

Returns:
(String) tablename