to.tetramorph.starbase.lib
クラス SearchResult

java.lang.Object
  上位を拡張 to.tetramorph.starbase.lib.SearchResult

public class SearchResult
extends Object


フィールドの概要
protected  int count
           
protected  List<Natal> list
           
protected  String pathName
           
protected  String searchType
           
protected  String tabName
           
protected  String title
           
 
コンストラクタの概要
SearchResult(List<Natal> list, String tabName, String title, String pathName, String searchType)
          SearchResult オブジェクトを作成する。
 
メソッドの概要
 int getCount()
           
 List<Natal> getNatalList()
           
 String getPathName()
           
 String getSearchType()
           
 String getTabName()
           
 String getTitle()
           
 void setCount(int count)
          検索対象となったデータの総数をセットする。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

list

protected List<Natal> list

tabName

protected String tabName

title

protected String title

pathName

protected String pathName

searchType

protected String searchType

count

protected int count
コンストラクタの詳細

SearchResult

public SearchResult(List<Natal> list,
                    String tabName,
                    String title,
                    String pathName,
                    String searchType)
SearchResult オブジェクトを作成する。

パラメータ:
list - 検索結果のリスト
tabName - 検索結果窓のタブに表示される名前。
title - 検索条件を表す文字列。「太陽 蟹13度」等。
searchType - 検索方式 「テキスト検索」「アスペクト検索」等。
メソッドの詳細

getNatalList

public List<Natal> getNatalList()

getTabName

public String getTabName()

getTitle

public String getTitle()

getPathName

public String getPathName()

getSearchType

public String getSearchType()

setCount

public void setCount(int count)
検索対象となったデータの総数をセットする。初期値は-1でこれは未登録状態 を表している。 これはSearchDialogの中から呼び出され、SearchModuleの中から操作しては ならない。

パラメータ:
count -

getCount

public int getCount()