jet.connect
Class DbTime

java.lang.Object
  extended by jet.connect.DbValue
      extended by jet.connect.DbDateTime
          extended by jet.connect.DbTime

public class DbTime
extends DbDateTime


Field Summary
 
Fields inherited from class jet.connect.DbDateTime
value
 
Fields inherited from class jet.connect.DbValue
bNull, CHAR_DESC, CURRENCY_DESC, DATE_DESC, desc, DOUBLE_DESC, INTEGER_DESC, TIME_DESC
 
Constructor Summary
DbTime()
           
DbTime(DbColDesc desc)
           
DbTime(java.sql.Time v)
           
 
Method Summary
 java.lang.Object clone()
          Creates a clone of this DbValue variable.
 java.sql.Time getTime()
           
 void set(DbValue v)
          Set the value with DbValue.
 void set(JRHierarchicalDataset hds, int col)
           
 void set(java.sql.ResultSet rs, int col)
          Set the value with result set.
 void setTime(java.sql.Time v)
           
 void setValue(java.lang.String v)
          Set the value with a string.
 java.lang.String toString()
          Convert the value to string.
 
Methods inherited from class jet.connect.DbDateTime
compareTo, equals, get, set, setValue, toFormatString, toSqlDate, toUtilDate
 
Methods inherited from class jet.connect.DbValue
equals, getColDesc, getPrecision, getScale, getSqlType, isCurrency, isNull, makeDbValue, setColDesc, setfoo, setNull
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbTime

public DbTime()

DbTime

public DbTime(java.sql.Time v)

DbTime

public DbTime(DbColDesc desc)
Method Detail

getTime

public java.sql.Time getTime()

setTime

public void setTime(java.sql.Time v)

set

public void set(java.sql.ResultSet rs,
                int col)
         throws java.sql.SQLException
Description copied from class: DbValue
Set the value with result set.

Specified by:
set in class DbValue
Parameters:
rs - the source value result set.
col - the source value column number in the rs.
Throws:
java.sql.SQLException

set

public void set(JRHierarchicalDataset hds,
                int col)
         throws java.sql.SQLException
Overrides:
set in class DbValue
Throws:
java.sql.SQLException

toString

public java.lang.String toString()
Description copied from class: DbValue
Convert the value to string.

Specified by:
toString in class DbValue

clone

public java.lang.Object clone()
Description copied from class: DbValue
Creates a clone of this DbValue variable.

Specified by:
clone in class DbValue

set

public void set(DbValue v)
Description copied from class: DbValue
Set the value with DbValue.

Specified by:
set in class DbValue

setValue

public void setValue(java.lang.String v)
Description copied from class: DbValue
Set the value with a string.

Specified by:
setValue in class DbValue