uk.org.ogsadai.common
Class Row

java.lang.Object
  |
  +--uk.org.ogsadai.common.Row

public class Row
extends java.lang.Object

ogsadai class/interface uk.org.ogsadai.common.Row Representation of a database row. Note that the column index for a row starts at 1.


Constructor Summary
Row(int cols)
          Method Row.
 
Method Summary
protected  void finalize()
           
 java.lang.Object get(int col)
          Method get.
 void put(int col, java.lang.Object obj)
          Method put.
 void put(int col, java.lang.String s)
          Method put.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Row

public Row(int cols)
Method Row.

Parameters:
cols -
Method Detail

put

public void put(int col,
                java.lang.Object obj)
Method put. Puts the object into a specific column of the row

Parameters:
col -
obj -

put

public void put(int col,
                java.lang.String s)
Method put. Puts the string into a specific column of the row

Parameters:
col -
s -

get

public java.lang.Object get(int col)
                     throws java.lang.ArrayIndexOutOfBoundsException
Method get. Gets an object from a specific column in the row

Parameters:
col -
Returns:
Object
java.lang.ArrayIndexOutOfBoundsException

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
java.lang.Throwable