|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataTypeFactory
A factory for creating DataType
.
Method Summary | |
---|---|
DataType |
createDataType(int sqlType,
String sqlTypeName)
Returns the DataType object that corresponds to the specified Types . |
DataType |
createDataType(int sqlType,
String sqlTypeName,
String tableName,
String columnName)
Returns the DataType object that corresponds to the specified Types and regards the given tableName and columnName. |
Method Detail |
---|
DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
Types
.
sqlType
- SQL type from Types
sqlTypeName
- Data source dependent type name
DataTypeException
DataType createDataType(int sqlType, String sqlTypeName, String tableName, 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 Types
sqlTypeName
- 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 created
DataTypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |