org.umber.ballast.generator
Interface ISqlTypeMapper

All Known Implementing Classes:
BaseSqlTypeMapper

public interface ISqlTypeMapper

Simple mapper between a set of SQL type names and String constants.

Author:
jsheets

Method Summary
 java.lang.String fromSqlType(java.lang.String sqlType)
          Converts an SQL type name into some other type name.
 java.lang.String toSqlType(java.lang.String otherType)
          Converts an arbitrary type name into an SQL type name.
 

Method Detail

toSqlType

public java.lang.String toSqlType(java.lang.String otherType)
Converts an arbitrary type name into an SQL type name.

Parameters:
otherType - type name
Returns:
SQL type name

fromSqlType

public java.lang.String fromSqlType(java.lang.String sqlType)
Converts an SQL type name into some other type name.

Parameters:
sqlType - SQL type name
Returns:
other type name