gistoolkit.datasources.db2spatialextender
Class DB2SQLConverter

java.lang.Object
  extended bygistoolkit.datasources.SimpleSQLConverter
      extended bygistoolkit.datasources.db2spatialextender.DB2SQLConverter
All Implemented Interfaces:
SQLConverter

public class DB2SQLConverter
extends SimpleSQLConverter

Class to convert java types and AttributeTypes to SQL for a particular database.


Constructor Summary
DB2SQLConverter()
           
 
Method Summary
 java.lang.String toSQLDate(java.util.Date inDate, AttributeType inAttributeType)
          Convert a java date into the JDBC date representaion for this database.
 
Methods inherited from class gistoolkit.datasources.SimpleSQLConverter
getAttributeType, toSQL, toSQLDate, toSQLDate, toSQLDecimal, toSQLInteger, toSQLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DB2SQLConverter

public DB2SQLConverter()
Method Detail

toSQLDate

public java.lang.String toSQLDate(java.util.Date inDate,
                                  AttributeType inAttributeType)
Convert a java date into the JDBC date representaion for this database.

Specified by:
toSQLDate in interface SQLConverter
Overrides:
toSQLDate in class SimpleSQLConverter