|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbunit.dataset.datatype.DataType
org.dbunit.dataset.datatype.AbstractDataType
org.dbunit.dataset.datatype.TimeDataType
public class TimeDataType
Data type that maps a SQL Types.TIME object to a java object.
| Field Summary |
|---|
| Fields inherited from class org.dbunit.dataset.datatype.DataType |
|---|
BIGINT, BIGINT_AUX_LONG, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGNVARCHAR, LONGVARBINARY, LONGVARCHAR, NCHAR, NUMERIC, NVARCHAR, REAL, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR |
| Method Summary | |
|---|---|
java.lang.Object |
getSqlValue(int column,
java.sql.ResultSet resultSet)
Returns the specified column value from the specified resultset object. |
boolean |
isDateTime()
Returns true if this DataType represents a
date and/or time. |
void |
setSqlValue(java.lang.Object value,
int column,
java.sql.PreparedStatement statement)
Set the specified value to the specified prepared statement object. |
java.lang.Object |
typeCast(java.lang.Object value)
Returns the specified value typecasted to this DataType |
| Methods inherited from class org.dbunit.dataset.datatype.AbstractDataType |
|---|
areObjectsEqual, compare, compareNonNulls, getSqlType, getTypeClass, isNumber, loadClass, loadClass, toString |
| Methods inherited from class org.dbunit.dataset.datatype.DataType |
|---|
asString, forObject, forSqlType, forSqlTypeName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Object typeCast(java.lang.Object value)
throws TypeCastException
DataTypeDataType
typeCast in class DataTypeTypeCastExceptionpublic boolean isDateTime()
DataTypetrue if this DataType represents a
date and/or time.
isDateTime in class AbstractDataType
public java.lang.Object getSqlValue(int column,
java.sql.ResultSet resultSet)
throws java.sql.SQLException,
TypeCastException
DataType
getSqlValue in class AbstractDataTypejava.sql.SQLException
TypeCastException
public void setSqlValue(java.lang.Object value,
int column,
java.sql.PreparedStatement statement)
throws java.sql.SQLException,
TypeCastException
DataType
setSqlValue in class AbstractDataTypejava.sql.SQLException
TypeCastException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||