org.seasar.doma.internal.jdbc.sql
クラス CallableSql

java.lang.Object
  上位を拡張 org.seasar.doma.internal.jdbc.sql.CallableSql
すべての実装されたインタフェース:
Sql<CallableSqlParameter>

public class CallableSql
extends Object
implements Sql<CallableSqlParameter>

作成者:
taedium

フィールドの概要
protected  String formattedSql
           
protected  List<CallableSqlParameter> parameters
           
protected  String rawSql
           
 
コンストラクタの概要
CallableSql(CharSequence rawSql, CharSequence formattedSql, List<? extends CallableSqlParameter> parameters)
           
 
メソッドの概要
 String getFormattedSql()
          フォーマット済みSQLを返します。
 List<CallableSqlParameter> getParameters()
          バインド変数へのパラメータのリストを返します。
 String getRawSql()
          未加工SQLを返します。
 String toString()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

rawSql

protected final String rawSql

formattedSql

protected final String formattedSql

parameters

protected final List<CallableSqlParameter> parameters
コンストラクタの詳細

CallableSql

public CallableSql(CharSequence rawSql,
                   CharSequence formattedSql,
                   List<? extends CallableSqlParameter> parameters)
メソッドの詳細

getRawSql

public String getRawSql()
インタフェース Sql の記述:
未加工SQLを返します。

バインド変数は ? で表されます。

定義:
インタフェース Sql<CallableSqlParameter> 内の getRawSql
戻り値:
未加工SQL

getFormattedSql

public String getFormattedSql()
インタフェース Sql の記述:
フォーマット済みSQLを返します。

バインド変数 ? が、 SqlLogFormattingVisitor の実装によって適切な文字列に置換されたSQLです。

定義:
インタフェース Sql<CallableSqlParameter> 内の getFormattedSql
戻り値:
フォーマット済みSQL

getParameters

public List<CallableSqlParameter> getParameters()
インタフェース Sql の記述:
バインド変数へのパラメータのリストを返します。

定義:
インタフェース Sql<CallableSqlParameter> 内の getParameters
戻り値:
バインド変数のパラメータのリスト

toString

public String toString()
オーバーライド:
クラス Object 内の toString


Copyright © 2009 The Seasar Foundation. All Rights Reserved.