|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectto.tetramorph.starbase.lib.SearchOption
public class SearchOption
SearchFrameには、共有している検索オプションがあり、どのオプションがついているかを 各検索モジュールに伝達するためのクラス。
フィールドの概要 | |
---|---|
static int |
COMPOSIT
|
static int |
EVENT
|
static int |
EXCLUDE_TIME_UNCERTAINTY
|
static int |
FEMALE
|
static int |
MALE
|
static int |
NATAL
|
static int |
NONE
|
static int |
ORG
|
static int |
OTHER_OPTIONS
|
static int |
SEARCH_SUB_FOLDERS
|
コンストラクタの概要 | |
---|---|
SearchOption()
ここで検索結果の出力先も引き渡す必要があるのだが、まだ詰めていない。 |
メソッドの概要 | |
---|---|
GregorianCalendar |
getBeginDate()
検索日付を返す |
Connection |
getConnection()
検索用のデータベースコネクションを返す。 |
String |
getCurrentPath()
現在選択されてるパス文字列を返す。 |
TreePath |
getCurrentTreePath()
検索すべきフォルダのパスを返す。 |
GregorianCalendar |
getEndDate()
検索終了日付を返す |
String |
getExpression()
オプションの選択状態を識別するためのSQLで表現されたステートメントを返す。 |
SearchResultReceiver |
getResultReceiver()
検索結果の出力先レシーバーを返す。 |
Boolean |
isSelected(Object key)
Natal内のMALE,FEMALE,NONE,COMPOSIT,EVENT,NATALいずれかのキーを渡すと、 それらのオプションが有効かどうかを返す。 |
void |
setBeginDate(GregorianCalendar beginDate)
検索日付をセットする |
void |
setConnection(Connection con)
検索用のデータベースコネクションをセットする。 |
void |
setCurrentTreePath(TreePath currentTreePath)
検索するフォルダへのパスをセットする |
void |
setEndDate(GregorianCalendar endDate)
検索終了日付をセットする |
void |
setOption(Object key,
boolean selected)
|
void |
setResultReceiver(SearchResultReceiver receiver)
検索結果の出力先レシーバーをセットする。 |
String |
toString()
オプション情報文字列を返す。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
public static final int MALE
public static final int FEMALE
public static final int NONE
public static final int NATAL
public static final int EVENT
public static final int ORG
public static final int COMPOSIT
public static final int SEARCH_SUB_FOLDERS
public static final int EXCLUDE_TIME_UNCERTAINTY
public static final int OTHER_OPTIONS
コンストラクタの詳細 |
---|
public SearchOption()
メソッドの詳細 |
---|
public void setConnection(Connection con)
public Connection getConnection()
public Boolean isSelected(Object key)
key
- オプションの種類を表すキー。時にはint、時にはString。
public void setOption(Object key, boolean selected)
public TreePath getCurrentTreePath()
public void setCurrentTreePath(TreePath currentTreePath)
public SearchResultReceiver getResultReceiver()
public void setResultReceiver(SearchResultReceiver receiver)
public GregorianCalendar getBeginDate()
public void setBeginDate(GregorianCalendar beginDate)
public GregorianCalendar getEndDate()
public void setEndDate(GregorianCalendar endDate)
public String getCurrentPath()
public String getExpression()
public String toString()
Object
内の toString
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |