org.dbunit.dataset.datatype
Interface IDataTypeFactory

All Known Implementing Classes:
DefaultDataTypeFactory

public interface IDataTypeFactory

A factory for creating DataType.

Since:
May 17, 2003
Version:
$Revision: 1.2 $
Author:
Manuel Laflamme

Method Summary
 DataType createDataType(int sqlType, java.lang.String sqlTypeName)
          Returns the DataType object that corresponds to the specified Types.
 

Method Detail

createDataType

public DataType createDataType(int sqlType,
                               java.lang.String sqlTypeName)
                        throws DataTypeException
Returns the DataType object that corresponds to the specified Types.

Parameters:
sqlType - SQL type from Types
sqlTypeName - Data source dependent type name
Throws:
DataTypeException


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.