org.dbunit.dataset.datatype
Class TimeDataType
java.lang.Object
org.dbunit.dataset.datatype.DataType
org.dbunit.dataset.datatype.AbstractDataType
org.dbunit.dataset.datatype.TimeDataType
public class TimeDataType
- extends AbstractDataType
- Since:
- Feb 19, 2002
- Version:
- $Revision: 629 $
- Author:
- Manuel Laflamme
Fields inherited from class org.dbunit.dataset.datatype.DataType |
BIGINT, BINARY, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGVARBINARY, LONGVARCHAR, NUMERIC, REAL, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR |
typeCast
public Object typeCast(Object value)
throws TypeCastException
- Description copied from class:
DataType
- Returns the specified value typecasted to this
DataType
- Specified by:
typeCast
in class DataType
- Throws:
TypeCastException
isDateTime
public boolean isDateTime()
- Description copied from class:
DataType
- Returns
true
if this DataType
represents a
date and/or time.
- Overrides:
isDateTime
in class AbstractDataType
getSqlValue
public Object getSqlValue(int column,
ResultSet resultSet)
throws SQLException,
TypeCastException
- Description copied from class:
DataType
- Returns the specified column value from the specified resultset object.
- Overrides:
getSqlValue
in class AbstractDataType
- Throws:
SQLException
TypeCastException
setSqlValue
public void setSqlValue(Object value,
int column,
PreparedStatement statement)
throws SQLException,
TypeCastException
- Description copied from class:
DataType
- Set the specified value to the specified prepared statement object.
- Overrides:
setSqlValue
in class AbstractDataType
- Throws:
SQLException
TypeCastException
Copyright © 2002-2011. All Rights Reserved.