com.scooterframework.orm.sqldataexpress.object
Class StoredProcedure

java.lang.Object
  extended by com.scooterframework.orm.sqldataexpress.object.StoredProcedure
Direct Known Subclasses:
Function

public class StoredProcedure
extends java.lang.Object

StoredProcedure class.


Field Summary
protected  java.lang.String api
           
protected  java.lang.String catalog
           
protected  java.util.Map<java.lang.String,Cursor> coursors
           
protected  int inputParamCount
           
protected  java.lang.String javaAPIString
           
protected  java.lang.String name
           
protected  java.util.Collection<Parameter> parameters
           
protected  java.lang.String schema
           
 
Constructor Summary
StoredProcedure(java.lang.String name)
           
 
Method Summary
protected  void addCursor(java.lang.String cursorName, Cursor cursor)
          adds a cursor
 void addParameter(Parameter param)
          adds a parameter
protected  java.lang.String formatJavaAPIString()
           
 java.lang.String getApi()
          returns api
 java.lang.String getCatalog()
          returns catalog
 Cursor getCursor(java.lang.String cursorName, java.sql.ResultSet rs)
          returns cursor
 int getInputParameterCount()
          returns count of input parameters
 java.lang.String getJavaAPIString()
          returns javaAPIString
 java.lang.String getName()
          returns name
 java.util.Collection<Parameter> getParameters()
          returns parameters
 java.lang.String getSchema()
          returns schema
 void setApi(java.lang.String api)
          sets api
 void setCataloge(java.lang.String catalog)
          sets catalog
 void setJavaAPIString(java.lang.String javaAPIString)
          sets javaAPIString
 void setName(java.lang.String name)
          sets name
 void setSchema(java.lang.String schema)
          sets schema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

catalog

protected java.lang.String catalog

schema

protected java.lang.String schema

api

protected java.lang.String api

javaAPIString

protected java.lang.String javaAPIString

inputParamCount

protected int inputParamCount

parameters

protected java.util.Collection<Parameter> parameters

coursors

protected java.util.Map<java.lang.String,Cursor> coursors
Constructor Detail

StoredProcedure

public StoredProcedure(java.lang.String name)
Method Detail

getCatalog

public java.lang.String getCatalog()
returns catalog


setCataloge

public void setCataloge(java.lang.String catalog)
sets catalog


getSchema

public java.lang.String getSchema()
returns schema


setSchema

public void setSchema(java.lang.String schema)
sets schema


getApi

public java.lang.String getApi()
returns api


setApi

public void setApi(java.lang.String api)
sets api


getName

public java.lang.String getName()
returns name


setName

public void setName(java.lang.String name)
sets name


getJavaAPIString

public java.lang.String getJavaAPIString()
returns javaAPIString


setJavaAPIString

public void setJavaAPIString(java.lang.String javaAPIString)
sets javaAPIString


getInputParameterCount

public int getInputParameterCount()
returns count of input parameters


getParameters

public java.util.Collection<Parameter> getParameters()
returns parameters


addParameter

public void addParameter(Parameter param)
adds a parameter


getCursor

public Cursor getCursor(java.lang.String cursorName,
                        java.sql.ResultSet rs)
returns cursor


addCursor

protected void addCursor(java.lang.String cursorName,
                         Cursor cursor)
adds a cursor


formatJavaAPIString

protected java.lang.String formatJavaAPIString()