Tuscany DAS for Relational Databases

org.apache.tuscany.das.rdb.graphbuilder.schema
Class ResultSetTypeMap

java.lang.Object
  extended by org.apache.tuscany.das.rdb.graphbuilder.schema.ResultSetTypeMap

public class ResultSetTypeMap
extends Object


Field Summary
static ResultSetTypeMap instance
           
 
Constructor Summary
protected ResultSetTypeMap()
          Constructor for ResultSetTypeMap.
 
Method Summary
 Type getEDataType(int type, boolean isNullable)
          These mappings taken primarily from "JDBC API and Tutorial and Reference" by Fisher, Ellis and Bruce.
 Type getType(int columnType, boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static ResultSetTypeMap instance
Constructor Detail

ResultSetTypeMap

protected ResultSetTypeMap()
Constructor for ResultSetTypeMap.

Method Detail

getEDataType

public Type getEDataType(int type,
                         boolean isNullable)
These mappings taken primarily from "JDBC API and Tutorial and Reference" by Fisher, Ellis and Bruce.

Parameters:
type -
isNullable -
Returns:

getType

public Type getType(int columnType,
                    boolean b)

Tuscany DAS for Relational Databases

-