rjw.dc.db
Class QueryCondition

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

public class QueryCondition
extends java.lang.Object

This is the where part of the Query, it contains column names and theit values

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

Constructor Summary
QueryCondition(java.lang.String[] columns, java.lang.Object[] values, boolean select)
          Creates a new Query conditions.
 
Method Summary
 java.util.Vector getColumns()
          Returns the columns
 java.util.Vector getValues()
          Returns the values
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryCondition

public QueryCondition(java.lang.String[] columns,
                      java.lang.Object[] values,
                      boolean select)
Creates a new Query conditions. Values must represent the columns! In other words; values[1] is the value for columns[1]

Parameters:
columns - array of column names
values - array of values corresponding with the columns
Method Detail

getColumns

public java.util.Vector getColumns()
Returns the columns

Returns:
(Vector) the columns

getValues

public java.util.Vector getValues()
Returns the values

Returns:
(Vector) the values, corresponding with the columns