org.seasar.doma.jdbc.type
クラス DoubleType

java.lang.Object
  上位を拡張 org.seasar.doma.jdbc.type.AbstractJdbcType<Double>
      上位を拡張 org.seasar.doma.jdbc.type.DoubleType
すべての実装されたインタフェース:
SqlLogFormatter<Double>, JdbcType<Double>

public class DoubleType
extends AbstractJdbcType<Double>

Double 用の JdbcType の実装です。

作成者:
taedium

フィールドの概要
 
クラス org.seasar.doma.jdbc.type.AbstractJdbcType から継承されたフィールド
type
 
コンストラクタの概要
DoubleType()
           
 
メソッドの概要
protected  String doConvertToLogFormat(Double value)
          サブクラスで値をログ用フォーマットの文字列に変換します。
protected  Double doGetValue(CallableStatement callableStatement, int index)
          サブクラスで CallableStatement から値を取得します。
 Double doGetValue(ResultSet resultSet, int index)
          サブクラスで ResultSet から値を取得します。
protected  void doSetValue(PreparedStatement preparedStatement, int index, Double value)
          サブクラスで PreparedStatement に値を設定します。
 
クラス org.seasar.doma.jdbc.type.AbstractJdbcType から継承されたメソッド
convertToLogFormat, getValue, getValue, registerOutParameter, setValue
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DoubleType

public DoubleType()
メソッドの詳細

doGetValue

public Double doGetValue(ResultSet resultSet,
                         int index)
                  throws SQLException
クラス AbstractJdbcType の記述:
サブクラスで ResultSet から値を取得します。

定義:
クラス AbstractJdbcType<Double> 内の doGetValue
パラメータ:
resultSet - 結果セット
index - インデックス
戻り値:
例外:
SQLException - SQL例外が発生した場合

doSetValue

protected void doSetValue(PreparedStatement preparedStatement,
                          int index,
                          Double value)
                   throws SQLException
クラス AbstractJdbcType の記述:
サブクラスで PreparedStatement に値を設定します。

定義:
クラス AbstractJdbcType<Double> 内の doSetValue
パラメータ:
preparedStatement - 準備された文
index - インデックス
value - 値
例外:
SQLException - SQL例外が発生した場合

doGetValue

protected Double doGetValue(CallableStatement callableStatement,
                            int index)
                     throws SQLException
クラス AbstractJdbcType の記述:
サブクラスで CallableStatement から値を取得します。

定義:
クラス AbstractJdbcType<Double> 内の doGetValue
パラメータ:
callableStatement - ストアドファンクションまたはプロシージャーを実行可能な文
index - インデックス
戻り値:
例外:
SQLException - SQL例外が発生した場合

doConvertToLogFormat

protected String doConvertToLogFormat(Double value)
クラス AbstractJdbcType の記述:
サブクラスで値をログ用フォーマットの文字列に変換します。

定義:
クラス AbstractJdbcType<Double> 内の doConvertToLogFormat
パラメータ:
value - 値
戻り値:
ログ用フォーマットの文字列


Copyright © 2009-2014 The Seasar Foundation. All Rights Reserved.