util.sql
Class NullSQLType

java.lang.Object
  |
  +--util.sql.NullSQLType

public class NullSQLType
extends java.lang.Object

Class representing a null value in a prepared statement. Used with PreparedStatementFactory.

Since:
12/03/2001
Version:
1.0
Author:
Ryan Daigle

Constructor Summary
NullSQLType(int fieldType)
          Default constructor.
 
Method Summary
 int getFieldType()
          Get the sql type of the field.
 java.lang.String toString()
          Get string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullSQLType

public NullSQLType(int fieldType)
Default constructor. Takes the expected sql type of the field that will be null.
Parameters:
fieldType - the expected field type in the db. Should be pulled from java.sql.Types.
See Also:
java.sql.Types
Method Detail

getFieldType

public int getFieldType()
Get the sql type of the field.
Returns:
the sql type of the field

toString

public java.lang.String toString()
Get string representation of this object.
Overrides:
toString in class java.lang.Object
Returns:
string representation of this object