org.seasar.extension.jdbc.types
クラス DateSqlDateType

java.lang.Object
  拡張org.seasar.extension.jdbc.types.AbstractValueType
      拡張org.seasar.extension.jdbc.types.SqlDateType
          拡張org.seasar.extension.jdbc.types.DateSqlDateType
すべての実装インタフェース:
ValueType

public class DateSqlDateType
extends SqlDateType

Dateと互換性をもつDate用のValueTypeです。

作成者:
taedium

コンストラクタの概要
DateSqlDateType()
           
 
メソッドの概要
 Object getValue(CallableStatement cs, int index)
          パラメータの値を返します。
 Object getValue(CallableStatement cs, String parameterName)
          パラメータの値を返します。
 Object getValue(ResultSet resultSet, int index)
          カラムの値を返します。
 Object getValue(ResultSet resultSet, String columnName)
          カラムの値を返します。
protected  Date toDate(Object value)
          Dateに変換します。
protected  Date toSqlDate(Object value)
          Date
 
クラス org.seasar.extension.jdbc.types.SqlDateType から継承したメソッド
bindValue, bindValue, toText
 
クラス org.seasar.extension.jdbc.types.AbstractValueType から継承したメソッド
getSqlType, registerOutParameter, registerOutParameter, setNull, setNull
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DateSqlDateType

public DateSqlDateType()
メソッドの詳細

getValue

public Object getValue(ResultSet resultSet,
                       int index)
                throws SQLException
インタフェース ValueType の記述:
カラムの値を返します。

定義:
インタフェース ValueType 内の getValue
オーバーライド:
クラス SqlDateType 内の getValue
例外:
SQLException

getValue

public Object getValue(ResultSet resultSet,
                       String columnName)
                throws SQLException
インタフェース ValueType の記述:
カラムの値を返します。

定義:
インタフェース ValueType 内の getValue
オーバーライド:
クラス SqlDateType 内の getValue
例外:
SQLException

getValue

public Object getValue(CallableStatement cs,
                       int index)
                throws SQLException
インタフェース ValueType の記述:
パラメータの値を返します。

定義:
インタフェース ValueType 内の getValue
オーバーライド:
クラス SqlDateType 内の getValue
例外:
SQLException

getValue

public Object getValue(CallableStatement cs,
                       String parameterName)
                throws SQLException
インタフェース ValueType の記述:
パラメータの値を返します。

定義:
インタフェース ValueType 内の getValue
オーバーライド:
クラス SqlDateType 内の getValue
例外:
SQLException

toDate

protected Date toDate(Object value)
Dateに変換します。

パラメータ:
value - 値
戻り値:
Date

toSqlDate

protected Date toSqlDate(Object value)
クラス SqlDateType の記述:
Date

オーバーライド:
クラス SqlDateType 内の toSqlDate
パラメータ:
value - 値
戻り値:
Date


Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.