com.scooterframework.orm.sqldataexpress.object
Class JdbcStatement

java.lang.Object
  extended by com.scooterframework.orm.sqldataexpress.object.JdbcStatement

public class JdbcStatement
extends java.lang.Object

JdbcStatement class.


Field Summary
protected  LogUtil log
           
static java.lang.String QuestionMarkStopper
           
 
Constructor Summary
JdbcStatement()
           
JdbcStatement(java.lang.String name, java.lang.String jdbcStatementString)
           
 
Method Summary
 void addParameter(Parameter param)
          Adds a parameter
 Cursor getCursor(java.lang.String cursorName, java.sql.ResultSet rs)
          Returns cursor
 java.lang.String getExecutableJdbcStatementString()
          Returns executable SQL statement string
 java.lang.String getName()
          Returns name
 java.lang.String getOriginalJdbcStatementString()
          Returns the original SQL statement string
 int getParameterCount()
          Returns count of parameters
 java.util.List<Parameter> getParameters()
          Returns parameters
 boolean hasLoadedParameterMetaData()
           
 boolean hasLoadedParameterProperties()
           
 boolean isInsertStatement()
          isInsertStatement
 boolean isSelectStatement()
          isSelectStatement
 boolean isUpdateStatement()
          isUpdateStatement
 void setLoadedParameterMetaData(boolean loadedParameterMetaData)
           
 void setLoadedParameterProperties(boolean loadedParameterProperties)
           
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QuestionMarkStopper

public static final java.lang.String QuestionMarkStopper
See Also:
Constant Field Values

log

protected LogUtil log
Constructor Detail

JdbcStatement

public JdbcStatement()

JdbcStatement

public JdbcStatement(java.lang.String name,
                     java.lang.String jdbcStatementString)
Method Detail

getName

public java.lang.String getName()
Returns name


getOriginalJdbcStatementString

public java.lang.String getOriginalJdbcStatementString()
Returns the original SQL statement string


getExecutableJdbcStatementString

public java.lang.String getExecutableJdbcStatementString()
Returns executable SQL statement string


isInsertStatement

public boolean isInsertStatement()
isInsertStatement


isSelectStatement

public boolean isSelectStatement()
isSelectStatement


isUpdateStatement

public boolean isUpdateStatement()
isUpdateStatement


getParameterCount

public int getParameterCount()
Returns count of parameters


getParameters

public java.util.List<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


hasLoadedParameterProperties

public boolean hasLoadedParameterProperties()

setLoadedParameterProperties

public void setLoadedParameterProperties(boolean loadedParameterProperties)

hasLoadedParameterMetaData

public boolean hasLoadedParameterMetaData()

setLoadedParameterMetaData

public void setLoadedParameterMetaData(boolean loadedParameterMetaData)

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
String