com.seag.qm
Class NullQueryParameter

java.lang.Object
  |
  +--com.seag.qm.QueryParameter
        |
        +--com.seag.qm.NullQueryParameter

public class NullQueryParameter
extends QueryParameter


Fields inherited from class com.seag.qm.QueryParameter
param
 
Constructor Summary
NullQueryParameter()
          A general NullQueryParameter
NullQueryParameter(java.lang.String param)
          A general NullQueryParameter
 
Method Summary
 java.lang.String getParameterType()
          Getting the Stringrepresentation of the type of the parameter ("Null")
 void setParameter(java.sql.PreparedStatement stmt, int pos)
          This Method is needed by the ExecuteQuery Class.
 
Methods inherited from class com.seag.qm.QueryParameter
getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullQueryParameter

public NullQueryParameter(java.lang.String param)
A general NullQueryParameter

NullQueryParameter

public NullQueryParameter()
A general NullQueryParameter
Method Detail

setParameter

public void setParameter(java.sql.PreparedStatement stmt,
                         int pos)
This Method is needed by the ExecuteQuery Class. Method is empty
Overrides:
setParameter in class QueryParameter
Parameters:
stmt - an allready created PreparedStatement (by the ExecuteQuery)
pos - Position of the parameter

getParameterType

public java.lang.String getParameterType()
Getting the Stringrepresentation of the type of the parameter ("Null")
Overrides:
getParameterType in class QueryParameter
Returns:
String - Representation of the type of the parameter