org.seasar.doma.internal.jdbc.command
クラス SetValueFunction

java.lang.Object
  上位を拡張 org.seasar.doma.internal.jdbc.command.SetValueFunction
すべての実装されたインタフェース:
JdbcMappingFunction

public class SetValueFunction
extends Object
implements JdbcMappingFunction

作成者:
taedium

フィールドの概要
protected  int index
           
protected  PreparedStatement preparedStatement
           
 
コンストラクタの概要
SetValueFunction(PreparedStatement preparedStatement, int index)
           
 
メソッドの概要
<R,V> R
apply(Domain<V,?> domain, JdbcType<V> jdbcType)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

preparedStatement

protected final PreparedStatement preparedStatement

index

protected final int index
コンストラクタの詳細

SetValueFunction

public SetValueFunction(PreparedStatement preparedStatement,
                        int index)
メソッドの詳細

apply

public <R,V> R apply(Domain<V,?> domain,
                     JdbcType<V> jdbcType)
        throws SQLException
定義:
インタフェース JdbcMappingFunction 内の apply
型パラメータ:
R - 戻り値の型
V - マッピング対象の値の型
パラメータ:
domain - ドメイン
jdbcType - JDBC型
戻り値:
マッピング処理の結果
例外:
SQLException - SQLに関する例外が発生した場合


Copyright © 2009 The Seasar Foundation. All Rights Reserved.