org.andromda.schema2xmi
Class JdbcTypeFinder

java.lang.Object
  extended by org.andromda.schema2xmi.JdbcTypeFinder

public class JdbcTypeFinder
extends java.lang.Object

Provides the ability to find a java.sql.Types field name based on an int value.

Author:
Chad Brandon

Constructor Summary
JdbcTypeFinder()
           
 
Method Summary
static java.lang.String find(int jdbcType)
          Finds the name of the jdbcType passed in, or null if there is no type in the java.sql.Types class matching the given jdbcType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcTypeFinder

public JdbcTypeFinder()
Method Detail

find

public static java.lang.String find(int jdbcType)
Finds the name of the jdbcType passed in, or null if there is no type in the java.sql.Types class matching the given jdbcType.

Parameters:
jdbcType - the JDBC type to find.
Returns:
the JDBC type name.


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.