Method Summary | |
int |
getParamCount()
Returns the number of parameters for the query |
java.lang.Object |
getParameter(int iIndex)
Get the value of a parameter |
java.lang.String |
getParametersString()
Return the query parameters as a String |
java.lang.String |
getSqlCount()
Return the SQL request "select count(*) from ..." |
java.lang.String |
getSqlDelete()
Return the SQL request "delete from ..." |
java.lang.String |
getSqlSelect()
Return the SQL request "select ... from ..." |
void |
setParameter(int iIndex,
int iValue)
Set the value of a parameter |
void |
setParameter(int iIndex,
long lValue)
Set the value of a parameter |
void |
setParameter(int iIndex,
java.lang.Object oValue)
Set the value of a parameter |
void |
setParameter(int iIndex,
short shValue)
Set the value of a parameter |
Method Detail |
public java.lang.String getSqlSelect()
public java.lang.String getSqlDelete()
public java.lang.String getSqlCount()
public void setParameter(int iIndex, java.lang.Object oValue)
iIndex
- index of the parameter to set ( 1 to N )oValue
- value of the parameterpublic void setParameter(int iIndex, short shValue)
iIndex
- index of the parameter to set ( 1 to N )shValue
- value of the parameterpublic void setParameter(int iIndex, int iValue)
iIndex
- index of the parameter to set ( 1 to N )iValue
- value of the parameterpublic void setParameter(int iIndex, long lValue)
iIndex
- index of the parameter to set ( 1 to N )lValue
- value of the parameterpublic int getParamCount()
public java.lang.Object getParameter(int iIndex)
iIndex
- index of the parameter ( 1 to N )
public java.lang.String getParametersString()