org.seasar.kuina.dao.internal.util
クラス SelectStatementUtil

java.lang.Object
  上位を拡張 org.seasar.kuina.dao.internal.util.SelectStatementUtil

public class SelectStatementUtil
extends Object

JPQLのSELECT文を扱うユーティリティ・クラスです.

作成者:
koichik

コンストラクタの概要
SelectStatementUtil()
           
 
メソッドの概要
static void appendOrderbyClause(String identificationVariable, SelectStatement selectStatement, Object orderbySpec)
          SELECT文のORDERBY句にorderby_itemを追加します.
static void appendOrderbyClause(String identificationVariable, SelectStatement selectStatement, OrderbySpec orderbySpec)
          SELECT文のORDERBY句にorderby_itemを追加します.
static void appendOrderbyClause(String identificationVariable, SelectStatement selectStatement, OrderbySpec[] orderbySpecs)
          SELECT文のORDERBY句にorderby_itemを追加します.
static void appendOrderbyClause(String identificationVariable, SelectStatement selectStatement, String orderbySpec)
          SELECT文のORDERBY句にorderby_itemを追加します.
static void appendOrderbyClause(String identificationVariable, SelectStatement selectStatement, String[] orderbySpecs)
          SELECT文のORDERBY句にorderby_itemを追加します.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SelectStatementUtil

public SelectStatementUtil()
メソッドの詳細

appendOrderbyClause

public static void appendOrderbyClause(String identificationVariable,
                                       SelectStatement selectStatement,
                                       Object orderbySpec)
SELECT文のORDERBY句にorderby_itemを追加します.

パラメータ:
identificationVariable - orderby_itemのidentification_variable
selectStatement - orderby_itemを追加するselect_statement
orderbySpec - orderby_spec

appendOrderbyClause

public static void appendOrderbyClause(String identificationVariable,
                                       SelectStatement selectStatement,
                                       String orderbySpec)
SELECT文のORDERBY句にorderby_itemを追加します.

パラメータ:
identificationVariable - orderby_itemのidentification_variable
selectStatement - orderby_itemを追加するselect_statement
orderbySpec - orderby_spec

appendOrderbyClause

public static void appendOrderbyClause(String identificationVariable,
                                       SelectStatement selectStatement,
                                       String[] orderbySpecs)
SELECT文のORDERBY句にorderby_itemを追加します.

パラメータ:
identificationVariable - orderby_itemのidentification_variable
selectStatement - orderby_itemを追加するselect_statement
orderbySpecs - orderby_specの配列

appendOrderbyClause

public static void appendOrderbyClause(String identificationVariable,
                                       SelectStatement selectStatement,
                                       OrderbySpec orderbySpec)
SELECT文のORDERBY句にorderby_itemを追加します.

パラメータ:
identificationVariable - orderby_itemのidentification_variable
selectStatement - orderby_itemを追加するselect_statement
orderbySpec - orderby_spec

appendOrderbyClause

public static void appendOrderbyClause(String identificationVariable,
                                       SelectStatement selectStatement,
                                       OrderbySpec[] orderbySpecs)
SELECT文のORDERBY句にorderby_itemを追加します.

パラメータ:
identificationVariable - orderby_itemのidentification_variable
selectStatement - orderby_itemを追加するselect_statement
orderbySpecs - orderby_specの配列


Copyright © 2006-2009 The Seasar Foundation. All Rights Reserved.