robbie.dao.x
クラス XQuery

java.lang.Object
  拡張robbie.dao.QuerySupport
      拡張robbie.dao.x.XQuery
すべての実装インタフェース:
Query, java.io.Serializable

public class XQuery
extends QuerySupport

XMLに定義された情報から、動的に実行SQLとバインド変数MapListを 作成するQueryの実装クラス。

関連項目:
XQueryParseUtil, 直列化された形式

フィールドの概要
protected  org.jdom.Element element
          SQLの情報Element
protected  java.util.Map parameters
          バインドパラメータMap
protected  java.lang.String queryId
          Query-ID
 
クラス robbie.dao.QuerySupport から継承したフィールド
parametersList, resultClass, sqlString
 
コンストラクタの概要
XQuery()
          デフォルトコンストラクタ。
 
メソッドの概要
 void configure()
          実行SQLと、パラメータListを作成。
 void setElement(org.jdom.Element element)
          SQLを定義したElementオブジェクトをセットする。
 void setParameters(java.util.Map parameters)
          バインド変数の入ったMapをセットする。
 java.lang.String toString()
          toString()のオーバライド。
 
クラス robbie.dao.QuerySupport から継承したメソッド
getBindParametersMapList, getReslutClass, getSQLString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

queryId

protected java.lang.String queryId
Query-ID


element

protected org.jdom.Element element
SQLの情報Element


parameters

protected java.util.Map parameters
バインドパラメータMap

コンストラクタの詳細

XQuery

public XQuery()
デフォルトコンストラクタ。<p>

メソッドの詳細

setElement

public void setElement(org.jdom.Element element)
SQLを定義したElementオブジェクトをセットする。

パラメータ:
element - SQLを定義したElementオブジェクト

setParameters

public void setParameters(java.util.Map parameters)
バインド変数の入ったMapをセットする。

パラメータ:
parameters -

configure

public void configure()
実行SQLと、パラメータListを作成。

この処理は同期化されていません。


toString

public java.lang.String toString()
toString()のオーバライド。

オーバーライド:
クラス QuerySupport 内の toString
戻り値:
このインスタンスの文字列表記