syncresult
Class SyncResultSet

java.lang.Object
  |
  +--syncresult.SyncResultSet

public class SyncResultSet
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SyncResultSet(java.util.Vector vect)
           
 
Method Summary
 java.lang.Object getObject(int columnIndex)
          Gets the value of a column in the current row as a Java object.
 java.lang.Object getObject(java.lang.String columnName)
           
 RawDataField getRawDataField(int columnIndex)
          Gets the value of a column in the current row as a RawDataField object.
 RawDataField getRawDataField(java.lang.String columnName)
          this method is used to get the RawDataField which represent each column
 java.util.Vector getRawDataFieldVector()
          this method is used to get the RawDataField Vector which represent a row
 boolean next()
          Moves the cursor down one row from its current position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncResultSet

public SyncResultSet(java.util.Vector vect)
Parameters:
vect - is a Vector which contain data in a fixed format . The vector which becomes each element contain the class RawDataField
vector v is a vector of RawDataField
vector vect is a vector of v
Method Detail

next

public boolean next()
Moves the cursor down one row from its current position. A ResultSet cursor
is initially positioned before the first row; the first call to
next makes the first row the current row; the second call makes the
second row the current row, and so on.
Returns:
false when the cursor has already reached the last row

getObject

public java.lang.Object getObject(java.lang.String columnName)
                           throws java.sql.SQLException

getRawDataFieldVector

public java.util.Vector getRawDataFieldVector()
this method is used to get the RawDataField Vector which represent a row

getRawDataField

public RawDataField getRawDataField(java.lang.String columnName)
                             throws java.sql.SQLException
this method is used to get the RawDataField which represent each column

getObject

public java.lang.Object getObject(int columnIndex)
Gets the value of a column in the current row as a Java object.

This method will return the value of the given column as a Java object.
The type of the Java object will be the default Java object type corresponding to the column's SQL type, following the mapping for built-in types specified in the JDBC spec.
Parameters:
columnIndex - is the column index
1 is the first column

getRawDataField

public RawDataField getRawDataField(int columnIndex)
Gets the value of a column in the current row as a RawDataField object.

This method will return the value of the given column as a RawDataField object.
Parameters:
columnIndex - is the column index
1 is the first column