/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 */
package jp.co.sint.tools;

import java.util.ArrayList;
import java.util.Collection;
import jp.co.sint.basic.SINameValue;
import jp.co.sint.config.SIConfig;
import org.apache.log4j.Category;

/**
 * @version $Id: SICustomerSort.java,v 1.0 2003/08/04 jExp $
 * @author  Arai Makoto
 * <br>Description:
 * <p>History</p>
 * <p>Author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reason</p>
 * ============&nbsp;&nbsp;&nbsp;==========&nbsp;&nbsp;===========================<br>
 * Arai       2003/08/04  Original
 */
public class SICustomerSort {

  //ログ用のインスタンスの生成
  private static Category log =Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);

  /**
   * <b>SICustomerSort</b>
   * コンストラクタ
   * @param  なし
   * @return なし
   * @throws なし
   */
  public SICustomerSort() {
  }

  /**
   * <b>getCollection</b>
   * 画面にタグの対応のために、各並び順をcollectionに入れて、タグに渡ります。
   * @param  なし
   * @return 並び順のコネクション
   * @throws なし
   */

  public static Collection getCollection() {
    Collection customerColl = new ArrayList();

    SINameValue nameValue=new SINameValue("test1","CustCode");
    customerColl.add(nameValue);
    nameValue=new SINameValue("test2","CustLevel");
    customerColl.add(nameValue);
    nameValue=new SINameValue("test3","CustCompanyFlg");
    customerColl.add(nameValue);
    nameValue=new SINameValue("test4","CustPronName");
    customerColl.add(nameValue);
    nameValue=new SINameValue("test5","Sex");
    customerColl.add(nameValue);

    return customerColl;

  }

}

