com.codestudio.util
Class SQLResult
java.lang.Object
|
+--com.codestudio.util.SQLResult
- public class SQLResult
- extends java.lang.Object
SQLResult is a simplified means of keeping track of
results returned from SQL queries. It encapsulates
the Hashtable array returned from a query made by SQLUtil.
Field Summary |
protected java.util.Hashtable[] |
records
|
Constructor Summary |
SQLResult(java.util.Hashtable[] h)
Build a SQLResult object from an array of Hashtables
returned from a SQLUtil query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
records
protected java.util.Hashtable[] records
SQLResult
public SQLResult(java.util.Hashtable[] h)
- Build a SQLResult object from an array of Hashtables
returned from a SQLUtil query.
hasNext
public boolean hasNext()
next
public java.util.Hashtable next()
size
public int size()
getObject
public java.lang.Object getObject(java.lang.String name)
getString
public java.lang.String getString(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toHtml
public java.lang.String toHtml()
Copyright © 1999-2001 The Code Studio. All Rights Reserved.