com.seag.qm
Class SmallintQueryParameter
java.lang.Object
|
+--com.seag.qm.QueryParameter
|
+--com.seag.qm.SmallintQueryParameter
- public class SmallintQueryParameter
- extends QueryParameter
Method Summary |
java.lang.String |
getParameterType()
Getting the Stringrepresentation of the type of the parameter ("Smallint") |
void |
setParameter(java.sql.PreparedStatement stmt,
int pos)
This Method is needed by the ExecuteQuery Class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmallintQueryParameter
public SmallintQueryParameter(java.lang.Short param)
- Creating a SmallintQueryParameter
- Parameters:
param
- Short
SmallintQueryParameter
public SmallintQueryParameter(int i)
- Creating a SmallintQueryParameter
- Parameters:
param
- int
SmallintQueryParameter
public SmallintQueryParameter(short i)
- Creating a SmallintQueryParameter
- Parameters:
param
- short
SmallintQueryParameter
public SmallintQueryParameter()
- Creating a null SmallintQueryParameter
setParameter
public void setParameter(java.sql.PreparedStatement stmt,
int pos)
throws java.sql.SQLException
- This Method is needed by the ExecuteQuery Class
- Overrides:
setParameter
in class QueryParameter
- Parameters:
stmt
- an allready created PreparedStatement (by the ExecuteQuery)pos
- Position of the parameter- Throws:
java.sql.SQLException
- if the method fails
getParameterType
public java.lang.String getParameterType()
- Getting the Stringrepresentation of the type of the parameter ("Smallint")
- Overrides:
getParameterType
in class QueryParameter
- Returns:
- String - Representation of the type of the parameter