jp.go.nict.langrid.dao.hibernate.searchsupport
クラス StringSetSearchSupport<T>

java.lang.Object
  上位を拡張 jp.go.nict.langrid.dao.hibernate.searchsupport.StringSetSearchSupport<T>
型パラメータ:
T - エレメントの型
すべての実装されたインタフェース:
SearchSupport<T>

public class StringSetSearchSupport<T>
extends Object
implements SearchSupport<T>

文字列集合フィールドの検索をサポートする。

バージョン:
$Revision: 10670 $
作成者:
$Author: Takao Nakaguchi $

コンストラクタの概要
StringSetSearchSupport()
          コンストラクタ。
StringSetSearchSupport(String suffix)
          コンストラクタ。
 
メソッドの概要
 void appendWhereClouse(MatchingCondition c, String elementAlias, String parameterName, StringBuilder query, Map<String,Object> parameters)
          HQLのWhere句を追加する。
 void filterResults(MatchingCondition condition, List<T> results)
          クエリ発行後のフィルタリングを行う。
 boolean isFileteringNeeded()
          クエリ発行後に追加のフィルタリングが必要かどうかを返す。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

StringSetSearchSupport

public StringSetSearchSupport()
コンストラクタ。


StringSetSearchSupport

public StringSetSearchSupport(String suffix)
コンストラクタ。

パラメータ:
suffix - フィールドのサフィックス(Embeddedの場合)
メソッドの詳細

appendWhereClouse

public void appendWhereClouse(MatchingCondition c,
                              String elementAlias,
                              String parameterName,
                              StringBuilder query,
                              Map<String,Object> parameters)
インタフェース SearchSupport の記述:
HQLのWhere句を追加する。

定義:
インタフェース SearchSupport<T> 内の appendWhereClouse
パラメータ:
c - マッチング条件
elementAlias - クエリで検索するエレメントのエイリアス
parameterName - パラメータ名
query - HQL
parameters - パラメータ

isFileteringNeeded

public boolean isFileteringNeeded()
インタフェース SearchSupport の記述:
クエリ発行後に追加のフィルタリングが必要かどうかを返す。

定義:
インタフェース SearchSupport<T> 内の isFileteringNeeded
戻り値:
必要な場合true

filterResults

public void filterResults(MatchingCondition condition,
                          List<T> results)
インタフェース SearchSupport の記述:
クエリ発行後のフィルタリングを行う。

定義:
インタフェース SearchSupport<T> 内の filterResults
パラメータ:
condition - マッチング条件
results - クエリの結果