gshute.util
Class DatabaseTable.Row

java.lang.Object
  |
  +--gshute.util.DatabaseTable.Row

public class DatabaseTable.Row
extends java.lang.Object

A Row provides access to the data in a row of a database table.


Constructor Summary
protected DatabaseTable.Row(java.util.Hashtable ht)
          new Row(ht) returns a row object with data from ht.
 
Method Summary
 float getFloatValue(java.lang.String col)
          r.getFloatValue(col) returns the float value in the column named col of r.
 int getIntValue(java.lang.String col)
          r.getIntValue(col) returns the integer value in the column named col of r.
 java.lang.String getValue(java.lang.String col)
          r.getValue(col) returns the string value in the column named col of r.
 java.util.Iterator iterator()
          r.iterator() returns an iterator for the values in r.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseTable.Row

protected DatabaseTable.Row(java.util.Hashtable ht)
new Row(ht) returns a row object with data from ht.
Method Detail

getValue

public java.lang.String getValue(java.lang.String col)
r.getValue(col) returns the string value in the column named col of r.

getIntValue

public int getIntValue(java.lang.String col)
r.getIntValue(col) returns the integer value in the column named col of r.

getFloatValue

public float getFloatValue(java.lang.String col)
r.getFloatValue(col) returns the float value in the column named col of r.

iterator

public java.util.Iterator iterator()
r.iterator() returns an iterator for the values in r.