org.dbunit.ext.mckoi
Class MckoiDataTypeFactory

java.lang.Object
  extended by org.dbunit.dataset.datatype.DefaultDataTypeFactory
      extended by org.dbunit.ext.mckoi.MckoiDataTypeFactory
All Implemented Interfaces:
IDataTypeFactory, IDbProductRelatable

public class MckoiDataTypeFactory
extends DefaultDataTypeFactory

MckoiDataTypeFactory - This class is for the DBUnit data type factory for Mckoi database

Since:
2.4.8
Version:
$Revision: 1181 $ $Date: 2010-04-17 10:25:46 -0500 (Sat, 17 Apr 2010) $
Author:
Luigi Talamona (luigitalamona AT users.sourceforge.net), Last changed by: $Author: gommma $

Constructor Summary
MckoiDataTypeFactory()
           
 
Method Summary
 DataType createDataType(int sqlType, String sqlTypeName)
          Returns the DataType object that corresponds to the specified Types.
 Collection getValidDbProducts()
          Returns a set of Strings representing database product names that this object relates to.
 
Methods inherited from class org.dbunit.dataset.datatype.DefaultDataTypeFactory
addToleratedDelta, createDataType, getToleratedDeltaMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MckoiDataTypeFactory

public MckoiDataTypeFactory()
Method Detail

getValidDbProducts

public Collection getValidDbProducts()
Description copied from interface: IDbProductRelatable
Returns a set of Strings representing database product names that this object relates to.

Specified by:
getValidDbProducts in interface IDbProductRelatable
Overrides:
getValidDbProducts in class DefaultDataTypeFactory
Returns:
Set of Strings.
See Also:
IDbProductRelatable.getValidDbProducts()

createDataType

public DataType createDataType(int sqlType,
                               String sqlTypeName)
                        throws DataTypeException
Description copied from interface: IDataTypeFactory
Returns the DataType object that corresponds to the specified Types.

Specified by:
createDataType in interface IDataTypeFactory
Overrides:
createDataType in class DefaultDataTypeFactory
Parameters:
sqlType - SQL type from Types
sqlTypeName - Data source dependent type name
Throws:
DataTypeException
See Also:
IDataTypeFactory.createDataType(int, java.lang.String)


Copyright © 2002-2012. All Rights Reserved.