| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectuk.ac.ic.doc.automed.util.db.DBResultSet
public class DBResultSet
| Field Summary | |
|---|---|
private  java.util.List | 
_fields
 | 
private  java.util.Vector | 
_rawResults
 | 
private  int | 
_rowPointer
 | 
static int | 
DB_FLOAT
 | 
static int | 
DB_INT
 | 
static int | 
DB_STRING
DB column types  | 
| Constructor Summary | |
|---|---|
DBResultSet(java.util.List fields,
            java.util.Vector rawResults)
Creates a new instance of DBResultSet  | 
|
| Method Summary | |
|---|---|
 DBRecord | 
getRecord(int index)
Returns a DBRecord object at the specified index | 
 boolean | 
hasNext()
is there a next record?  | 
 DBRecord | 
next()
Return the next  | 
 int | 
size()
return the total number of database records  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private java.util.List _fields
private java.util.Vector _rawResults
private int _rowPointer
public static final int DB_STRING
public static final int DB_FLOAT
public static final int DB_INT
| Constructor Detail | 
|---|
public DBResultSet(java.util.List fields,
                   java.util.Vector rawResults)
| Method Detail | 
|---|
public int size()
public boolean hasNext()
public DBRecord next()
              throws NotFoundException
NotFoundException
public DBRecord getRecord(int index)
                   throws NotFoundException
DBRecord object at the specified index
NotFoundException
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||