Tea Java Runtime API
Version 3.2.4

com.pdmfc.tea.modules.tdbc
Class SCallableStatement

java.lang.Object
  extended by com.pdmfc.tea.modules.tos.STosObj
      extended by com.pdmfc.tea.modules.tdbc.SStatement
          extended by com.pdmfc.tea.modules.tdbc.SPreparedStatement
              extended by com.pdmfc.tea.modules.tdbc.SCallableStatement
All Implemented Interfaces:
SClosedEventListener, SObjFunction

public class SCallableStatement
extends SPreparedStatement

Implements an TOS object that acts like a java CallableStatement.


Field Summary
 
Fields inherited from class com.pdmfc.tea.modules.tdbc.SStatement
_resultSets
 
Constructor Summary
SCallableStatement(STosClass myClass)
           
 
Method Summary
 java.lang.Object constructor(SObjFunction obj, SContext context, java.lang.Object[] args)
          The implementation for the "constructor" TOS method.
 java.lang.Object fetchOutParameters(SObjFunction obj, SContext context, java.lang.Object[] args)
          The implementation for the "fetchOutputParameters" TOS method.
static java.lang.String getTosClassName()
           
static SStatement newInstance(SContext context)
           
 java.lang.Object registerDate(SObjFunction obj, SContext context, java.lang.Object[] args)
          The implementation for the "registerInt" TOS method.
 java.lang.Object registerFloat(SObjFunction obj, SContext context, java.lang.Object[] args)
          The implementation for the "registerFloat" TOS method.
 java.lang.Object registerInt(SObjFunction obj, SContext context, java.lang.Object[] args)
          The implementation for the "registerInt" TOS method.
 java.lang.Object registerString(SObjFunction obj, SContext context, java.lang.Object[] args)
          The implementation for the "registerString" TOS method.
 void setCallableStatement(java.sql.CallableStatement stat)
           
 
Methods inherited from class com.pdmfc.tea.modules.tdbc.SPreparedStatement
execute, query, setDate, setFloat, setInt, setPreparedStatement, setString, update
 
Methods inherited from class com.pdmfc.tea.modules.tdbc.SStatement
addClosedListener, close, closedEvent, getFetchSize, getInternalStatement, getMoreResults, getResultSet, setFetchSize, setStatement
 
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

SCallableStatement

public SCallableStatement(STosClass myClass)
                   throws STeaException
Parameters:
myClass - The TOS class associated with instances of this Java class.
Throws:
STeaException
Method Detail

setCallableStatement

public void setCallableStatement(java.sql.CallableStatement stat)

getTosClassName

public static java.lang.String getTosClassName()

newInstance

public static SStatement newInstance(SContext context)
                              throws STeaException
Throws:
STeaException

constructor

public java.lang.Object constructor(SObjFunction obj,
                                    SContext context,
                                    java.lang.Object[] args)
                             throws STeaException
The implementation for the "constructor" TOS method.

Overrides:
constructor in class SPreparedStatement
Parameters:
obj - Reference to the object the TOS method was invoked for.
context - The context where the method invocation is taking place.
args - The arguments the TOS method was called with.
Throws:
STeaException

registerString

public java.lang.Object registerString(SObjFunction obj,
                                       SContext context,
                                       java.lang.Object[] args)
                                throws SRuntimeException
The implementation for the "registerString" TOS method.

Parameters:
obj - Reference to the object the TOS method was invoked for.
context - The context where the method invocation is taking place.
args - The arguments the TOS method was called with.
Throws:
SRuntimeException

registerInt

public java.lang.Object registerInt(SObjFunction obj,
                                    SContext context,
                                    java.lang.Object[] args)
                             throws SRuntimeException
The implementation for the "registerInt" TOS method.

Parameters:
obj - Reference to the object the TOS method was invoked for.
context - The context where the method invocation is taking place.
args - The arguments the TOS method was called with.
Throws:
SRuntimeException

registerFloat

public java.lang.Object registerFloat(SObjFunction obj,
                                      SContext context,
                                      java.lang.Object[] args)
                               throws SRuntimeException
The implementation for the "registerFloat" TOS method.

Parameters:
obj - Reference to the object the TOS method was invoked for.
context - The context where the method invocation is taking place.
args - The arguments the TOS method was called with.
Throws:
SRuntimeException

registerDate

public java.lang.Object registerDate(SObjFunction obj,
                                     SContext context,
                                     java.lang.Object[] args)
                              throws SRuntimeException
The implementation for the "registerInt" TOS method.

Parameters:
obj - Reference to the object the TOS method was invoked for.
context - The context where the method invocation is taking place.
args - The arguments the TOS method was called with.
Throws:
SRuntimeException

fetchOutParameters

public java.lang.Object fetchOutParameters(SObjFunction obj,
                                           SContext context,
                                           java.lang.Object[] args)
                                    throws STeaException
The implementation for the "fetchOutputParameters" TOS method.

Throws:
STeaException

Tea Java Runtime API
Version 3.2.4

© 2009 PDM&FC, All Rights Reserved.