com.pdmfc.tea.modules.tdbc
Class SStatement
java.lang.Object
|
+--com.pdmfc.tea.modules.tos.STosObj
|
+--com.pdmfc.tea.modules.tdbc.SStatement
- All Implemented Interfaces:
- com.pdmfc.tea.modules.tdbc.SClosedEventListener, SObjFunction
- Direct Known Subclasses:
- SPreparedStatement
- public class SStatement
- extends STosObj
- implements com.pdmfc.tea.modules.tdbc.SClosedEventListener
Implements an TOS object that acts like a java Statement.
|
Method Summary |
void |
addClosedListener(com.pdmfc.tea.modules.tdbc.SClosedEventListener listener)
|
void |
close()
|
java.lang.Object |
close(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
void |
closedEvent(java.lang.Object closedObject)
Signals that an object has been closed. |
java.lang.Object |
constructor(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
java.lang.Object |
execute(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
static java.lang.String |
getTosClassName()
|
static SStatement |
newInstance(SContext context)
|
java.lang.Object |
query(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
void |
setStatement(java.sql.Statement stat)
|
java.lang.Object |
update(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_resultSets
protected java.util.Vector _resultSets
SStatement
public SStatement(STosClass myClass)
throws STeaException
- Parameters:
stat - The Statement that this TOS objects acts on behalf of.
setStatement
public void setStatement(java.sql.Statement stat)
getTosClassName
public static java.lang.String getTosClassName()
newInstance
public static SStatement newInstance(SContext context)
throws STeaException
addClosedListener
public void addClosedListener(com.pdmfc.tea.modules.tdbc.SClosedEventListener listener)
constructor
public java.lang.Object constructor(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
query
public java.lang.Object query(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
update
public java.lang.Object update(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
execute
public java.lang.Object execute(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
close
public java.lang.Object close(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
close
public void close()
throws java.sql.SQLException
closedEvent
public void closedEvent(java.lang.Object closedObject)
- Description copied from interface:
com.pdmfc.tea.modules.tdbc.SClosedEventListener
- Signals that an object has been closed.
- Specified by:
closedEvent in interface com.pdmfc.tea.modules.tdbc.SClosedEventListener
- Following copied from interface:
com.pdmfc.tea.modules.tdbc.SClosedEventListener
- Parameters:
closedObject - The object that was closed.
© 2002 PDM&FC, All Rights Reserved.