public interface IDataTypeFactory
DataType.| Modifier and Type | Method and Description |
|---|---|
DataType |
createDataType(int sqlType,
java.lang.String sqlTypeName)
Returns the DataType object that corresponds to the specified
Types. |
DataType |
createDataType(int sqlType,
java.lang.String sqlTypeName,
java.lang.String tableName,
java.lang.String columnName)
Returns the DataType object that corresponds to the specified
Types and regards the given tableName and columnName. |
DataType createDataType(int sqlType, java.lang.String sqlTypeName) throws DataTypeException
Types.sqlType - SQL type from TypessqlTypeName - Data source dependent type nameDataTypeExceptionDataType createDataType(int sqlType, java.lang.String sqlTypeName, java.lang.String tableName, java.lang.String columnName) throws DataTypeException
Types and regards the given tableName and columnName.
When a ToleratedDeltaMap.ToleratedDelta has been set
for a tableName.columnName set then this method automatically creates the correct
datatype that honours the tolerance value in the assertion.sqlType - SQL type from TypessqlTypeName - Data source dependent type nametableName - The database table for which the type is createdcolumnName - The database column in the given table for which the type is createdDataTypeExceptionCopyright © 2002-2018. All Rights Reserved.