|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.kuina.dao.internal.condition.OrderbyBuilder
public class OrderbyBuilder
パラメータからORDER BY句を作成し,SELECT文に追加するビルダです.
| フィールドの概要 | |
|---|---|
protected String |
identificationVariable
identification_variable |
| コンストラクタの概要 | |
|---|---|
OrderbyBuilder(Class<?> entityClass)
インスタンスを構築します。 |
|
OrderbyBuilder(String identificationVariable)
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
String |
appendCondition(SelectStatement statement,
Object value)
問い合わせ条件等を作成してSELECT文に追加します. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected String identificationVariable
| コンストラクタの詳細 |
|---|
public OrderbyBuilder(Class<?> entityClass)
entityClass - エンティティ・クラスpublic OrderbyBuilder(String identificationVariable)
identificationVariable - identification_variable| メソッドの詳細 |
|---|
public String appendCondition(SelectStatement statement,
Object value)
ConditionalExpressionBuilder の記述:
valueをパラメータにバインドした場合はパラメータ名を返します. パラメータをバインドしなかった場合はnullを返します.
多くのビルダ実装クラスではvalueがnullの場合はパラメータをバインドしません.
ConditionalExpressionBuilder 内の appendConditionstatement - SELECT文value - 問い合わせ条件にバインドするパラメータの値
valueをパラメータにバインドした場合はパラメータ名
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||