|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbunit.dataset.datatype.DefaultDataTypeFactory
org.dbunit.ext.postgresql.PostgresqlDataTypeFactory
public class PostgresqlDataTypeFactory
Specialized factory that recognizes Postgresql data types.
Derived from work by manuel.laflamme
| Constructor Summary | |
|---|---|
PostgresqlDataTypeFactory()
|
|
| 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. |
boolean |
isEnumType(String sqlTypeName)
Returns a data type for the given sql type name if the user wishes one. |
| 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 |
|---|
public PostgresqlDataTypeFactory()
| Method Detail |
|---|
public Collection getValidDbProducts()
IDbProductRelatable
getValidDbProducts in interface IDbProductRelatablegetValidDbProducts in class DefaultDataTypeFactoryIDbProductRelatable.getValidDbProducts()
public DataType createDataType(int sqlType,
String sqlTypeName)
throws DataTypeException
IDataTypeFactoryTypes.
createDataType in interface IDataTypeFactorycreateDataType in class DefaultDataTypeFactorysqlType - SQL type from TypessqlTypeName - Data source dependent type name
DataTypeExceptionIDataTypeFactory.createDataType(int, java.lang.String)public boolean isEnumType(String sqlTypeName)
sqlTypeName - The sql type name for which users can specify a custom data type.
null if the given type name is not a custom
type which is the default implementation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||