|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.pdmfc.tea.modules.tos.STosObj
com.pdmfc.tea.modules.tdbc.SResultSet
public class SResultSet
Implements a TOS class TResultSet. Instances of this
TOS class act like a Java java.sql.ResultSet.
| Constructor Summary | |
|---|---|
SResultSet(STosClass myClass)
|
|
| Method Summary | |
|---|---|
void |
addClosedListener(SClosedEventListener listener)
Registers a new listener interested in being notigied when this result set is closed. |
void |
close()
|
java.lang.Object |
close(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
java.lang.Object |
constructor(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
java.lang.Object |
getColumnCount(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Retrieves the number of columns in this result set. |
java.lang.Object |
getColumnName(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
java.lang.Object |
getDate(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Implements the getDate method of the TOS
TResultSet class. |
java.lang.Object |
getFloat(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Implements the getFloat method of the TOS
TResultSet class. |
java.lang.Object |
getInt(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Implements the getInt method of the TOS
TResultSet class. |
java.sql.ResultSet |
getInternalResultSet()
Fetches the java.sql.ResultSet used to interact with
the database. |
java.lang.Object |
getString(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Implements the getString method of the TOS
TResultSet class. |
static java.lang.String |
getTosClassName()
Fetches the TOS class name implemented by this Java class. |
java.lang.Object |
hasMoreRows(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Implements the hasMoreRows method of the TOS
TResultSet class. |
java.lang.Object |
hasRows(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Implements the hasRows method of the TOS
TResultSet class. |
static SResultSet |
newInstance(SContext context)
Creates a new TOS instance of the TResultSet class. |
java.lang.Object |
next(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Implements the next method of the TOS
TResultSet class. |
void |
setResultSet(java.sql.ResultSet rSet)
Specifies the underlying java.sql.ResultSet object to
use. |
java.lang.Object |
skip(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Implements the skip method of the TOS
TResultSet class. |
| Methods inherited from class com.pdmfc.tea.modules.tos.STosObj |
|---|
exec, getTosClass, init, part, selfObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SResultSet(STosClass myClass)
throws STeaException
STeaException| Method Detail |
|---|
public void setResultSet(java.sql.ResultSet rSet)
throws java.sql.SQLException
java.sql.ResultSet object to
use. The given result set should no longer be used by whoever
supplied it.
rSet -
java.sql.SQLException - Thrown if there were any problems accessing
the given result set.public java.sql.ResultSet getInternalResultSet()
java.sql.ResultSet used to interact with
the database.
java.sql.ResultSet being used.public static java.lang.String getTosClassName()
public static SResultSet newInstance(SContext context)
throws STeaException
TResultSet class.
STeaExceptionpublic void addClosedListener(SClosedEventListener listener)
listener - The listener that will be notified when this result
set is closed.
public java.lang.Object constructor(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
STeaException
public java.lang.Object hasRows(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws SRuntimeException
hasRows method of the TOS
TResultSet class. Checks if the result
set as any rows. It always returns the same value.
SRuntimeException
public java.lang.Object next(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws SRuntimeException
next method of the TOS
TResultSet class. Skips to the next row of the result.
SRuntimeException
public java.lang.Object hasMoreRows(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws SRuntimeException
hasMoreRows method of the TOS
TResultSet class. Checks if there are more rows to be
read. If it returns true a call to the next() method must
be made in order to fecth the row.
SRuntimeException
public java.lang.Object skip(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws SRuntimeException
skip method of the TOS
TResultSet class.
SRuntimeException
public java.lang.Object getInt(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws SRuntimeException
getInt method of the TOS
TResultSet class.
SRuntimeException
public java.lang.Object getFloat(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws SRuntimeException
getFloat method of the TOS
TResultSet class.
SRuntimeException
public java.lang.Object getString(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws SRuntimeException
getString method of the TOS
TResultSet class.
SRuntimeException
public java.lang.Object getDate(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
getDate method of the TOS
TResultSet class.
STeaException
public java.lang.Object close(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
STeaException
public void close()
throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object getColumnCount(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
STeaException - Thrown if the result set has been closed or if there were any
problem comunicating with the database.
public java.lang.Object getColumnName(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws SRuntimeException
SRuntimeException
|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||